fix: 修复 AI 会话链路与前端 type-check 错误

This commit is contained in:
digua
2026-03-25 22:42:31 +08:00
parent 39b06523d4
commit b6fdc3887e
18 changed files with 75 additions and 63 deletions

View File

@@ -419,7 +419,7 @@ export const aiApi = {
/**
* 创建 AI 对话
*/
createConversation: (sessionId: string, title?: string, assistantId: string): Promise<AIConversation> => {
createConversation: (sessionId: string, title: string | undefined, assistantId: string): Promise<AIConversation> => {
return ipcRenderer.invoke('ai:createConversation', sessionId, title, assistantId)
},