mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-10 18:26:55 +08:00
perf: The assistant is optimized for manual data source selection
This commit is contained in:
committed by
fit2cloud-chenyw
parent
fc6a740a3f
commit
6c7fd8c00f
@@ -330,8 +330,8 @@ export const chatApi = {
|
||||
startChat: (data: any): Promise<ChatInfo> => {
|
||||
return request.post('/chat/start', data)
|
||||
},
|
||||
startAssistantChat: (): Promise<ChatInfo> => {
|
||||
return request.post('/chat/assistant/start')
|
||||
startAssistantChat: (data?: any): Promise<ChatInfo> => {
|
||||
return request.post('/chat/assistant/start', Object.assign({ origin: 2 }, data))
|
||||
},
|
||||
renameChat: (chat_id: number | undefined, brief: string): Promise<string> => {
|
||||
return request.post('/chat/rename', { id: chat_id, brief: brief })
|
||||
|
||||
Reference in New Issue
Block a user