Skip to content

Commit

Permalink
Merge pull request #116 from jarodsmk/main
Browse files Browse the repository at this point in the history
chore: added gpt-4-turbo and gpt-4o as selectable models
all testing has passed, LGTM!
  • Loading branch information
Supernova3339 authored Jun 13, 2024
2 parents f45cd53 + 6177079 commit bb5f4ab
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/ChatRoute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ export function ChatRoute() {
})}
data={[
{ label: 'GPT-3.5', value: 'gpt-3.5-turbo' },
{ label: 'GPT-4', value: 'gpt-4' }
{ label: 'GPT-4', value: 'gpt-4' },
{ label: 'GPT-4o', value: 'gpt-4o' }
]}
onChange={async (value: 'gpt-3.5-turbo' | 'gpt-4') => {
const model = value;
Expand Down
8 changes: 8 additions & 0 deletions src/static/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@
{
"value": "gpt-4-1106-preview",
"label": "GPT-4-1106-Preview"
},
{
"value": "gpt-4-turbo",
"label": "GPT-4 Turbo"
},
{
"value": "gpt-4o",
"label": "GPT-4 omni"
}
],
"writingCharacters": [
Expand Down

0 comments on commit bb5f4ab

Please sign in to comment.