mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-05-03 11:41:17 +08:00
feat: 新增定位日志功能
This commit is contained in:
@@ -743,6 +743,13 @@ const aiApi = {
|
||||
deleteMessage: (messageId: string): Promise<boolean> => {
|
||||
return ipcRenderer.invoke('ai:deleteMessage', messageId)
|
||||
},
|
||||
|
||||
/**
|
||||
* 打开当前 AI 日志文件并定位到文件
|
||||
*/
|
||||
showAiLogFile: (): Promise<{ success: boolean; path?: string; error?: string }> => {
|
||||
return ipcRenderer.invoke('ai:showLogFile')
|
||||
},
|
||||
}
|
||||
|
||||
// LLM API - LLM 服务功能
|
||||
|
||||
Reference in New Issue
Block a user