diff --git a/frontend/src/hooks/useMediaStreamASR.ts b/frontend/src/hooks/useMediaStreamASR.ts index eaa276a..d2b5cda 100644 --- a/frontend/src/hooks/useMediaStreamASR.ts +++ b/frontend/src/hooks/useMediaStreamASR.ts @@ -48,7 +48,10 @@ export function useMediaStreamASR({ wsUrl }: UseMediaStreamASRProps): UseMediaSt lastStashRef.current = '' if (currentText) { setTranscript(currentText) - setPartialTranscript('') + // Keep partialTranscript populated so the text remains visible in QueryInput + // after the user stops capture/listening. Unlike video ASR, mic/system-audio + // hooks have no onFinalTranscript callback to persist via queryText. + setPartialTranscript(currentText) } if (streamRef.current) {