diff --git a/src/config/modelProviders/openai.ts b/src/config/modelProviders/openai.ts index 26aa4b53c42c..4b967c7e723c 100644 --- a/src/config/modelProviders/openai.ts +++ b/src/config/modelProviders/openai.ts @@ -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 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。', @@ -70,6 +85,7 @@ const OpenAI: ModelProviderCard = { input: 2.5, output: 10, }, + releasedAt: '2024-08-06', tokens: 128_000, vision: true, }, @@ -83,6 +99,7 @@ const OpenAI: ModelProviderCard = { input: 5, output: 15, }, + releasedAt: '2024-05-13', tokens: 128_000, vision: true, }, diff --git a/src/store/user/slices/modelList/selectors/modelProvider.test.ts b/src/store/user/slices/modelList/selectors/modelProvider.test.ts index 6f782c16d02a..9287d0cf97fd 100644 --- a/src/store/user/slices/modelList/selectors/modelProvider.test.ts +++ b/src/store/user/slices/modelList/selectors/modelProvider.test.ts @@ -53,6 +53,7 @@ describe('modelProviderSelectors', () => { 'o1-mini', 'o1-preview', 'gpt-4o-mini', + 'gpt-4o-2024-11-20', 'gpt-4o', 'chatgpt-4o-latest', ]);