yangg il y a 4 jours
Parent
commit
76da3b9f2d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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,