|
@@ -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,
|