mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2025-04-17 18:18:11 +00:00
patch: use workspace LLM for embed chats and fallback to system
resolves #1439
This commit is contained in:
parent
f140139534
commit
3794ef8dfd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue