mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-06-15 23:20:32 +03:00
patch: use workspace LLM for embed chats and fallback to system
resolves #1439
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user