yangg 4 天之前
父節點
當前提交
76da3b9f2d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/views/report.vue

+ 2 - 0
src/views/report.vue

@@ -2262,6 +2262,8 @@ const summaryHtml=ref('')
  
     const apiEndpoint = enableWebSearch.value
       ? `${import.meta.env.VITE_BASE_AI_API}/api/chat/web-search-llm/`
+      : enableKnowledgeSearch.value
+      ? `${import.meta.env.VITE_BASE_AI_API}/api/chat/knowledge-only`
       : `${import.meta.env.VITE_BASE_AI_API}/api/chat/online/multimodal`;
       const response = await axios.post(apiEndpoint, {
       message: currentMessage,