File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1382,9 +1382,8 @@ export class AudioRecognition {
13821382 if ( ! this . turnDetectorLatePredictionWarned ) {
13831383 this . turnDetectorLatePredictionWarned = true ;
13841384 this . logger . warn (
1385- 'eou detection ran after the audio eot turn was already flushed ' +
1386- '(likely a late stt final). consider raising `minDelay` in the ' +
1387- 'endpointing options to accommodate slow stt. subsequent ' +
1385+ 'transcript arrives after turn has been committed. consider raising `minDelay` in the ' +
1386+ 'endpointing options to accommodate a slow stt. subsequent ' +
13881387 'occurrences will log at debug level.' ,
13891388 ) ;
13901389 } else {
@@ -1478,7 +1477,9 @@ export class AudioRecognition {
14781477 if ( turnDetector instanceof BaseStreamingTurnDetectorStream ) {
14791478 const fut = this . turnDetectorPredictionFut ;
14801479 if ( fut === undefined ) {
1481- this . onMissingEotPrediction ( ) ;
1480+ if ( trigger === 'stt' ) {
1481+ this . onMissingEotPrediction ( ) ;
1482+ }
14821483 } else {
14831484 fromCache = fut . done ;
14841485 // Await the held future against the model prediction timeout.
You can’t perform that action at this time.
0 commit comments