Merge pull request #800 from gokulkgm/xai-update

feat: add xAI grok-2-1212 model
This commit is contained in:
Anirban Kar 2024-12-19 21:22:52 +05:30 committed by GitHub
commit a53b10ff39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -232,7 +232,10 @@ const PROVIDER_LIST: ProviderInfo[] = [
}, },
{ {
name: 'xAI', name: 'xAI',
staticModels: [{ name: 'grok-beta', label: 'xAI Grok Beta', provider: 'xAI', maxTokenAllowed: 8000 }], staticModels: [
{ name: 'grok-beta', label: 'xAI Grok Beta', provider: 'xAI', maxTokenAllowed: 8000 },
{ name: 'grok-2-1212', label: 'xAI Grok2 1212', provider: 'xAI', maxTokenAllowed: 8000 },
],
getApiKeyLink: 'https://docs.x.ai/docs/quickstart#creating-an-api-key', getApiKeyLink: 'https://docs.x.ai/docs/quickstart#creating-an-api-key',
}, },
{ {