refactor: add log

This commit is contained in:
wangjiahao
2025-12-30 17:39:55 +08:00
parent e5fd7d297a
commit 95b058a2ad
10 changed files with 38 additions and 25 deletions
+2 -2
View File
@@ -356,8 +356,8 @@ export const chatApi = {
return request.get(`/chat/recent_questions/${datasource_id}`)
},
checkLLMModel: () => request.get('/system/aimodel/default', { requestOptions: { silent: true } }),
export2Excel: (record_id: number | undefined) =>
request.get(`/chat/record/${record_id}/excel/export`, {
export2Excel: (record_id: number | undefined, chat_id: any) =>
request.get(`/chat/record/${record_id}/excel/export/${chat_id}`, {
responseType: 'blob',
requestOptions: { customError: true },
}),