From 8d0f0da04a8b5648e5dc83ce53c78edb4b9f1dee Mon Sep 17 00:00:00 2001 From: GK Date: Tue, 17 Dec 2024 17:30:22 +0000 Subject: [PATCH] add: xAI grok-2-1212 model --- app/utils/constants.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/utils/constants.ts b/app/utils/constants.ts index 64259954..78db6a01 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -233,7 +233,10 @@ const PROVIDER_LIST: ProviderInfo[] = [ }, { 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', }, {