patch: use workspace LLM for embed chats and fallback to system

resolves #1439
This commit is contained in:
timothycarambat 2024-05-17 17:33:19 -07:00
parent f140139534
commit 3794ef8dfd

View File

@ -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();