From b51341cc451ad593b4d04848d83ac3af290f10ca Mon Sep 17 00:00:00 2001 From: "rosetta-livekit-bot[bot]" <282703043+rosetta-livekit-bot[bot]@users.noreply.github.com> Date: Tue, 30 Jun 2026 16:51:20 +0000 Subject: [PATCH] chore(eot): update log message about slow stt transcript --- agents/src/voice/audio_recognition.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/agents/src/voice/audio_recognition.ts b/agents/src/voice/audio_recognition.ts index ad531c501..c3cda7f79 100644 --- a/agents/src/voice/audio_recognition.ts +++ b/agents/src/voice/audio_recognition.ts @@ -1382,9 +1382,8 @@ export class AudioRecognition { if (!this.turnDetectorLatePredictionWarned) { this.turnDetectorLatePredictionWarned = true; this.logger.warn( - 'eou detection ran after the audio eot turn was already flushed ' + - '(likely a late stt final). consider raising `minDelay` in the ' + - 'endpointing options to accommodate slow stt. subsequent ' + + 'transcript arrives after turn has been committed. consider raising `minDelay` in the ' + + 'endpointing options to accommodate a slow stt. subsequent ' + 'occurrences will log at debug level.', ); } else { @@ -1478,7 +1477,9 @@ export class AudioRecognition { if (turnDetector instanceof BaseStreamingTurnDetectorStream) { const fut = this.turnDetectorPredictionFut; if (fut === undefined) { - this.onMissingEotPrediction(); + if (trigger === 'stt') { + this.onMissingEotPrediction(); + } } else { fromCache = fut.done; // Await the held future against the model prediction timeout.