Skip to content
Snippets Groups Projects
Commit 3794ef8d authored by timothycarambat's avatar timothycarambat
Browse files

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

resolves #1439
parent f1401395
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment