feat(providers): add GPT-4 omni

This commit is contained in:
ItzCrazyKns 2024-05-14 19:33:54 +05:30
parent 0e2f4514b4
commit 180e204c2d
No known key found for this signature in database
GPG Key ID: 8162927C7CCE3065
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@ export const getAvailableChatModelProviders = async () => {
modelName: 'gpt-4-turbo', modelName: 'gpt-4-turbo',
temperature: 0.7, temperature: 0.7,
}), }),
'GPT-4 omni': new ChatOpenAI({
openAIApiKey,
modelName: 'gpt-4o',
temperature: 0.7,
}),
}; };
} catch (err) { } catch (err) {
logger.error(`Error loading OpenAI models: ${err}`); logger.error(`Error loading OpenAI models: ${err}`);