perf(chat): split session detail into fast and extra loading
This commit is contained in:
1 parent
22b6a07749
commit
a5ae22d2a5
6 files changed
+344
-96
No files matched your search
@@ -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