From 35805b797c6ed1282ce75d2e956c8109f385931b Mon Sep 17 00:00:00 2001 From: godo Date: Sat, 11 Jan 2025 15:41:40 +0800 Subject: [PATCH] change ai id --- frontend/src/components/localchat/AiChatMain.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/localchat/AiChatMain.vue b/frontend/src/components/localchat/AiChatMain.vue index a4892fe..46cce78 100644 --- a/frontend/src/components/localchat/AiChatMain.vue +++ b/frontend/src/components/localchat/AiChatMain.vue @@ -132,7 +132,7 @@ const createCompletion = async () => { }; const chatConfig = modelStore.chatConfig.chat; - const knowledgeId = chatStore.chatInfo.knowledgeId; + const knowledgeId = chatStore.chatInfo.knowledgeId*1; let postMsg: any = { messages: requestMessages.value, model: chatStore.chatInfo.model,