Skip to content

Commit

Permalink
💄 style: add gpt-4o-2024-11-20 model (lobehub#4855)
Browse files Browse the repository at this point in the history
* Update openai.ts

* Update modelProvider.test.ts

* Update openai.ts
  • Loading branch information
LovelyGuYiMeng authored Dec 1, 2024
1 parent 5d29d83 commit bc3b396
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/config/modelProviders/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ const OpenAI: ModelProviderCard = {
tokens: 128_000,
vision: true,
},
{
description:
'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。',
displayName: 'GPT-4o 1120',
enabled: true,
functionCall: true,
id: 'gpt-4o-2024-11-20',
pricing: {
input: 2.5,
output: 10,
},
releasedAt: '2024-11-20',
tokens: 128_000,
vision: true,
},
{
description:
'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。',
Expand All @@ -70,6 +85,7 @@ const OpenAI: ModelProviderCard = {
input: 2.5,
output: 10,
},
releasedAt: '2024-08-06',
tokens: 128_000,
vision: true,
},
Expand All @@ -83,6 +99,7 @@ const OpenAI: ModelProviderCard = {
input: 5,
output: 15,
},
releasedAt: '2024-05-13',
tokens: 128_000,
vision: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ describe('modelProviderSelectors', () => {
'o1-mini',
'o1-preview',
'gpt-4o-mini',
'gpt-4o-2024-11-20',
'gpt-4o',
'chatgpt-4o-latest',
]);
Expand Down

0 comments on commit bc3b396

Please sign in to comment.