diff --git a/server/utils/chats/embed.js b/server/utils/chats/embed.js index 98b096fb..8488aedd 100644 --- a/server/utils/chats/embed.js +++ b/server/utils/chats/embed.js @@ -29,6 +29,7 @@ async function streamChatWithForEmbed( const uuid = uuidv4(); const LLMConnector = getLLMProvider({ + provider: embed?.workspace?.chatProvider, model: chatModel ?? embed.workspace?.chatModel, }); const VectorDb = getVectorDbClass();