Patch Changes
-
378af05: fix(google, google-vertex): finish live transcription streams without the 3-second grace period
gemini-3.5-transcribe-liveends each segment withgenerationCompleteand never sendsturnComplete, so live transcription streams always waited out the 3-second finish grace period and merged all segments into onetranscript-finalwithout separating whitespace. Segments now complete ongenerationComplete, and streams finish as soon as server voice activity detection shows that all sent audio has been transcribed.Adds
providerOptions.google.streaming.automaticActivityDetection.disabled(googleVertexon Vertex) for push-to-talk input: the audio stream is transcribed as a single turn without splitting at pauses, and the transcript is finalized as soon as the audio input closes. -
Updated dependencies [378af05]
- @ai-sdk/google@4.0.124