feat(providers): fix loading issues
This commit is contained in:
parent
3b4b8a8b02
commit
8539ce82ad
5 changed files with 27 additions and 11 deletions
|
|
@ -5,6 +5,8 @@ import logger from '../../utils/logger';
|
|||
export const loadGroqChatModels = async () => {
|
||||
const groqApiKey = getGroqApiKey();
|
||||
|
||||
if (!groqApiKey) return {};
|
||||
|
||||
try {
|
||||
const chatModels = {
|
||||
'LLaMA3 8b': new ChatOpenAI(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue