feat: Check default llm before chat

This commit is contained in:
fit2cloud-chenyw
2025-07-31 17:53:34 +08:00
parent 5ea91ec825
commit 0f8e1c8a19
11 changed files with 137 additions and 29 deletions
+1
View File
@@ -328,4 +328,5 @@ export const chatApi = {
recommendQuestions: (record_id: number | undefined, controller?: AbortController) => {
return request.fetchStream(`/chat/recommend_questions/${record_id}`, {}, controller)
},
checkLLMModel: () => request.get('/system/aimodel/default', { requestOptions: { silent: true } }),
}