mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-04-23 18:19:01 +08:00
fix: 增加默认assistant兜底
This commit is contained in:
2
electron/preload/index.d.ts
vendored
2
electron/preload/index.d.ts
vendored
@@ -358,7 +358,7 @@ interface AiApi {
|
||||
senderId?: number,
|
||||
keywords?: string[]
|
||||
) => Promise<{ messages: SearchMessageResult[]; hasMore: boolean }>
|
||||
createConversation: (sessionId: string, title?: string, assistantId?: string) => Promise<AIConversation>
|
||||
createConversation: (sessionId: string, title?: string, assistantId: string) => Promise<AIConversation>
|
||||
getConversations: (sessionId: string) => Promise<AIConversation[]>
|
||||
getConversation: (conversationId: string) => Promise<AIConversation | null>
|
||||
updateConversationTitle: (conversationId: string, title: string) => Promise<boolean>
|
||||
|
||||
Reference in New Issue
Block a user