mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-24 23:06:51 +00:00
perf(chat): split session detail into fast and extra loading
This commit is contained in:
@@ -986,6 +986,14 @@ function registerIpcHandlers() {
|
||||
return chatService.getSessionDetail(sessionId)
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getSessionDetailFast', async (_, sessionId: string) => {
|
||||
return chatService.getSessionDetailFast(sessionId)
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getSessionDetailExtra', async (_, sessionId: string) => {
|
||||
return chatService.getSessionDetailExtra(sessionId)
|
||||
})
|
||||
|
||||
ipcMain.handle('chat:getExportSessionStats', async (_, sessionIds: string[]) => {
|
||||
return chatService.getExportSessionStats(sessionIds)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user