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

This commit is contained in:
xuncha authored and xuncha committed 2026-02-06 19:15:45 +08:00
1 parent a19f2a57c3
commit d3a1db4efe
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)
})