mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-02 19:21:54 +08:00
feat: 逻辑优化
This commit is contained in:
@@ -472,7 +472,15 @@ const aiApi = {
|
||||
dataMessageCount?: number,
|
||||
contentBlocks?: ContentBlock[]
|
||||
): Promise<AIMessage> => {
|
||||
return ipcRenderer.invoke('ai:addMessage', conversationId, role, content, dataKeywords, dataMessageCount, contentBlocks)
|
||||
return ipcRenderer.invoke(
|
||||
'ai:addMessage',
|
||||
conversationId,
|
||||
role,
|
||||
content,
|
||||
dataKeywords,
|
||||
dataMessageCount,
|
||||
contentBlocks
|
||||
)
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user