Skip to content

Commit

Permalink
💄 style: updata gpt-4o model info (#4318)
Browse files Browse the repository at this point in the history
* Update openai.ts

* Update openrouter.ts
  • Loading branch information
LovelyGuYiMeng authored Oct 11, 2024
1 parent e52a3e6 commit fa27ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions src/config/modelProviders/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ const OpenAI: ModelProviderCard = {
functionCall: true,
id: 'gpt-4o',
pricing: {
input: 5,
output: 15,
input: 2.5,
output: 10,
},
tokens: 128_000,
vision: true,
Expand All @@ -64,7 +64,6 @@ const OpenAI: ModelProviderCard = {
description:
'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。',
displayName: 'GPT-4o 0806',
enabled: true,
functionCall: true,
id: 'gpt-4o-2024-08-06',
pricing: {
Expand Down
4 changes: 2 additions & 2 deletions src/config/modelProviders/openrouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ const OpenRouter: ModelProviderCard = {
{
description:
'ChatGPT-4o 是一款动态模型,实时更新以保持当前最新版本。它结合了强大的语言理解与生成能力,适合于大规模应用场景,包括客户服务、教育和技术支持。',
displayName: 'GPT-4o 0806',
displayName: 'GPT-4o',
enabled: true,
functionCall: true,
id: 'openai/gpt-4o-2024-08-06',
id: 'openai/gpt-4o',
pricing: {
input: 2.5,
output: 10,
Expand Down

0 comments on commit fa27ddf

Please sign in to comment.