yangg 4 days ago
parent
commit
76da3b9f2d
1 changed files with 2 additions and 0 deletions
  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,