diff --git a/src/pipecat/services/cartesia.py b/src/pipecat/services/cartesia.py index 75da116d5..5ada5665d 100644 --- a/src/pipecat/services/cartesia.py +++ b/src/pipecat/services/cartesia.py @@ -250,9 +250,7 @@ class CartesiaTTSService(WordTTSService, WebsocketService): # because we are likely still playing out audio and need the # timestamp to set send context frames. self._context_id = None - await self.add_word_timestamps( - [("TTSStoppedFrame", 0), ("LLMFullResponseEndFrame", 0), ("Reset", 0)] - ) + await self.add_word_timestamps([("TTSStoppedFrame", 0), ("Reset", 0)]) elif msg["type"] == "timestamps": await self.add_word_timestamps( list(zip(msg["word_timestamps"]["words"], msg["word_timestamps"]["start"])) diff --git a/src/pipecat/services/elevenlabs.py b/src/pipecat/services/elevenlabs.py index d37fb499b..2a4423dda 100644 --- a/src/pipecat/services/elevenlabs.py +++ b/src/pipecat/services/elevenlabs.py @@ -284,7 +284,7 @@ class ElevenLabsTTSService(WordTTSService, WebsocketService): if isinstance(frame, (TTSStoppedFrame, StartInterruptionFrame)): self._started = False if isinstance(frame, TTSStoppedFrame): - await self.add_word_timestamps([("LLMFullResponseEndFrame", 0), ("Reset", 0)]) + await self.add_word_timestamps([("Reset", 0)]) async def process_frame(self, frame: Frame, direction: FrameDirection): await super().process_frame(frame, direction)