fix: resolve core bugs and enhance logging for AI insights

Fix aggressive activity analysis and loop bug, add detailed logs, and introduce test trigger button.

Co-authored-by: Jason <159670257+Jasonzhu1207@users.noreply.github.com>
This commit is contained in:
v0andJason committed 2026-04-05 17:11:05 +00:00
1 parent aa029fe113
commit 95f1e73a39
4 files changed
+227 -42

No files matched your search

+2 -1
View File
@@ -447,6 +447,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
// AI 见解
insight: {
testConnection: () => ipcRenderer.invoke('insight:testConnection'),
getTodayStats: () => ipcRenderer.invoke('insight:getTodayStats')
getTodayStats: () => ipcRenderer.invoke('insight:getTodayStats'),
triggerTest: () => ipcRenderer.invoke('insight:triggerTest')
}
})