From 70df9d3fe4d9f58871326eab71c58c4905babaca Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Fri, 27 Mar 2026 12:07:37 -0400 Subject: [PATCH] Fix duplicate TTSStoppedFrame in TTS service timeout path --- src/pipecat/services/tts_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pipecat/services/tts_service.py b/src/pipecat/services/tts_service.py index 1cd68540d..f33515e68 100644 --- a/src/pipecat/services/tts_service.py +++ b/src/pipecat/services/tts_service.py @@ -1403,6 +1403,7 @@ class TTSService(AIService): logger.trace(f"{self} time out on audio context {context_id}") if should_push_stop_frame and self._push_stop_frames: await self.push_frame(TTSStoppedFrame(context_id=context_id)) + should_push_stop_frame = False break if should_push_stop_frame and self._push_stop_frames: