feat(groq): update deprecated models

This commit is contained in:
ItzCrazyKns 2024-10-18 11:05:57 +05:30
parent 3e6e57dab0
commit 54e0bb317a
1 changed files with 6 additions and 6 deletions

View File

@ -22,12 +22,12 @@ export const loadGroqChatModels = async () => {
}, },
), ),
}, },
'llama-3.2-11b-text-preview': { 'llama-3.2-11b-vision-preview': {
displayName: 'Llama 3.2 11B Text', displayName: 'Llama 3.2 11B Vision',
model: new ChatOpenAI( model: new ChatOpenAI(
{ {
openAIApiKey: groqApiKey, openAIApiKey: groqApiKey,
modelName: 'llama-3.2-11b-text-preview', modelName: 'llama-3.2-11b-vision-preview',
temperature: 0.7, temperature: 0.7,
}, },
{ {
@ -35,12 +35,12 @@ export const loadGroqChatModels = async () => {
}, },
), ),
}, },
'llama-3.2-90b-text-preview': { 'llama-3.2-90b-vision-preview': {
displayName: 'Llama 3.2 90B Text', displayName: 'Llama 3.2 90B Vision',
model: new ChatOpenAI( model: new ChatOpenAI(
{ {
openAIApiKey: groqApiKey, openAIApiKey: groqApiKey,
modelName: 'llama-3.2-90b-text-preview', modelName: 'llama-3.2-90b-vision-preview',
temperature: 0.7, temperature: 0.7,
}, },
{ {