mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 17:26:55 +08:00
@@ -474,7 +474,7 @@ export const chatApi = {
|
||||
return request.post('/chat/rename', { id: chat_id, brief: brief })
|
||||
},
|
||||
deleteChat: (id: number | undefined, brief: any): Promise<string> => {
|
||||
return request.delete(`/chat/${id}/${brief}`)
|
||||
return request.delete(`/chat/${id}`, { data: { id: id, brief: brief } })
|
||||
},
|
||||
analysis: (record_id: number | undefined, controller?: AbortController) => {
|
||||
return request.fetchStream(`/chat/record/${record_id}/analysis`, {}, controller)
|
||||
|
||||
Reference in New Issue
Block a user