Skip to content

Commit

Permalink
✨ feat: gpt-4o-mini to openai provider
Browse files Browse the repository at this point in the history
  • Loading branch information
danielglh committed Jul 18, 2024
1 parent 4531e24 commit a34591e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
21.6.2
12 changes: 10 additions & 2 deletions src/config/modelProviders/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const OpenAI: ModelProviderCard = {
{
description: 'GPT 3.5 Turbo,适用于各种文本生成和理解任务',
displayName: 'GPT-3.5 Turbo',
enabled: true,
functionCall: true,
id: 'gpt-3.5-turbo',
tokens: 16_385,
Expand Down Expand Up @@ -131,8 +130,17 @@ const OpenAI: ModelProviderCard = {
tokens: 128_000,
vision: true,
},
{
description: 'Currently points to gpt-4o-mini-2024-07-18',
displayName: 'GPT-4o-mini',
enabled: true,
functionCall: true,
id: 'gpt-4o-mini',
tokens: 128_000,
vision: true,
},
],
checkModel: 'gpt-3.5-turbo',
checkModel: 'gpt-4o-mini',
enabled: true,
id: 'openai',
modelList: { showModelFetcher: true },
Expand Down

0 comments on commit a34591e

Please sign in to comment.