mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-10 17:00:11 +01:00
patch: use workspace LLM for embed chats and fallback to system
resolves #1439
This commit is contained in:
parent
f140139534
commit
3794ef8dfd
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user