Skip to content

Commit

Permalink
💄 style: Add new grok models (lobehub#5013)
Browse files Browse the repository at this point in the history
* Update xai.ts

* Update xai.ts

* Update xai.ts
  • Loading branch information
sxjeru authored Dec 14, 2024
1 parent 7159520 commit 8df3212
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion src/config/modelProviders/xai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,35 @@ const XAI: ModelProviderCard = {
tokens: 8192,
vision: true,
},
{
description: '该模型在准确性、指令遵循和多语言能力方面有所改进。',
displayName: 'Grok 2 1212',
enabled: true,
functionCall: true,
id: 'grok-2-1212',
pricing: {
input: 2,
output: 10,
},
releasedAt: '2024-12-12',
tokens: 131_072,
},
{
description: '该模型在准确性、指令遵循和多语言能力方面有所改进。',
displayName: 'Grok 2 Vision 1212',
enabled: true,
functionCall: true,
id: 'grok-2-vision-1212',
pricing: {
input: 2,
output: 10,
},
releasedAt: '2024-12-12',
tokens: 32_768,
vision: true,
},
],
checkModel: 'grok-beta',
checkModel: 'grok-2-1212',
description:
'xAI 是一家致力于构建人工智能以加速人类科学发现的公司。我们的使命是推动我们对宇宙的共同理解。',
id: 'xai',
Expand Down

0 comments on commit 8df3212

Please sign in to comment.