fix voice transcript export lookup

This commit is contained in:
xuncha committed 2026-07-07 09:31:52 +08:00
1 parent 147f3b7045
commit 916b7c2c57
14 files changed
+328 -36

No files matched your search

@@ -209,7 +209,7 @@ export class ChatLabFormatter {
let voiceTranscribed = 0
await parallelLimit(voiceMessages, VOICE_CONCURRENCY, async (msg: any) => {
this.exportService.throwIfStopRequested(control)
const transcript = await this.exportService.transcribeVoice(sessionId, String(msg.localId), msg.createTime, msg.senderUsername)
const transcript = await this.exportService.transcribeVoice(sessionId, String(msg.localId), msg.createTime, msg.senderUsername, msg.serverIdRaw || msg.serverId)
voiceTranscriptMap.set(this.exportService.getStableMessageKey(msg), transcript)
voiceTranscribed++
onProgress?.({