fix(frontend): address CodeRabbit review findings on voice conversation mode

Report STT start and capture failures instead of staying on Listening, treat a failed reading as an error, skip replies with no readable text, stop auto-play replaying a reply voice mode already read, focus the text box after Edit in text box, and strip think blocks before text reaches TTS.
This commit is contained in:
Chris Scott committed 2026-10-22 20:36:01 -04:00
1 parent 5d8b2c9445
commit 73af7aec89
8 files changed
+292 -45

No files matched your search

+1 -1
View File
@@ -260,7 +260,7 @@ export function listUnspokenMessages(
if (message === undefined || message.type !== 'assistant') continue
if (message.time.completed === undefined) continue
if (spokenIds.has(message.id)) continue
const text = assistantText(message.content).trim()
const text = assistantText(message.content, { stripThink: true }).trim()
if (!text) continue
unspoken.push({ id: message.id, text })
}