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,