Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
bentwnghk committed Mar 13, 2024
2 parents fd0e0a4 + 0988466 commit 9208deb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/config/modelProviders/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const OpenAI: ModelProviderCard = {
tokens: 16_385,
},
{
displayName: 'GPT-3.5 Turbo Instruct',
hidden: true,
id: 'gpt-3.5-turbo-instruct',
tokens: 4096,
Expand All @@ -36,12 +37,14 @@ const OpenAI: ModelProviderCard = {
tokens: 16_385,
},
{
displayName: 'GPT-3.5 Turbo (0613)',
hidden: true,
id: 'gpt-3.5-turbo-0613',
legacy: true,
tokens: 4096,
},
{
displayName: 'GPT-3.5 Turbo 16K (0613)',
hidden: true,
id: 'gpt-3.5-turbo-16k-0613',
legacy: true,
Expand Down Expand Up @@ -82,24 +85,28 @@ const OpenAI: ModelProviderCard = {
tokens: 8192,
},
{
displayName: 'GPT-4 (0613)',
functionCall: true,
hidden: true,
id: 'gpt-4-0613',
tokens: 8192,
},
{
displayName: 'GPT-4 32K',
functionCall: true,
hidden: true,
id: 'gpt-4-32k',
tokens: 32_768,
},
{
displayName: 'GPT-4 32K (0613)',
functionCall: true,
hidden: true,
id: 'gpt-4-32k-0613',
tokens: 32_768,
},
{
displayName: 'GPT-4 ALL',
files: true,
functionCall: true,
hidden: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ exports[`modelProviderSelectors > CUSTOM_MODELS > should work correct with gpt-4
"tokens": 8192,
},
{
"displayName": "gpt-4-32k",
"displayName": "GPT-4 32K",
"functionCall": true,
"hidden": undefined,
"id": "gpt-4-32k",
Expand Down

0 comments on commit 9208deb

Please sign in to comment.