从密语给批量语音转文字搬过来了

This commit is contained in:
xuncha authored and xuncha committed 2026-02-06 19:15:22 +08:00
1 parent 4d1632a9b9
commit 54378a132f
6 files changed
+803 -1

No files matched your search

+3
View File
@@ -896,6 +896,9 @@ function registerIpcHandlers() {
ipcMain.handle('chat:getVoiceData', async (_, sessionId: string, msgId: string, createTime?: number, serverId?: string | number) => {
return chatService.getVoiceData(sessionId, msgId, createTime, serverId)
})
ipcMain.handle('chat:getAllVoiceMessages', async (_, sessionId: string) => {
return chatService.getAllVoiceMessages(sessionId)
})
ipcMain.handle('chat:resolveVoiceCache', async (_, sessionId: string, msgId: string) => {
return chatService.resolveVoiceCache(sessionId, msgId)
})