mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Clear the transcription failure flag when a turn still sends text
This commit is contained in:
1 parent
eca6a29b87
commit
1ae24ace07
1 file changed
+2
@@ -448,6 +448,7 @@ export function useVoiceConversation(
|
||||
dispatch({ type: 'transcript', text })
|
||||
failedTurnTextRef.current = null
|
||||
transcriptionFailureCountRef.current = 0
|
||||
transcriptionFailedRef.current = false
|
||||
setNotice(null)
|
||||
const latest = latestRef.current
|
||||
const baselineId = latestMessageBaseline(latest.messages)
|
||||
@@ -493,6 +494,7 @@ export function useVoiceConversation(
|
||||
}
|
||||
failedTurnTextRef.current = null
|
||||
transcriptionFailureCountRef.current = 0
|
||||
transcriptionFailedRef.current = false
|
||||
setNotice(null)
|
||||
const latest = latestRef.current
|
||||
fireImpactHaptic()
|
||||
|
||||
Reference in new issue
Block a user