From 3dcab14675d77eacd9c06048d2af106f0fcf4d6f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 18 Mar 2026 04:24:25 +0000 Subject: [PATCH] fix: propagate append_to_context from TextFrame through TTS _process_text_frame Co-authored-by: jamsea <614910+jamsea@users.noreply.github.com> --- src/pipecat/services/tts_service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pipecat/services/tts_service.py b/src/pipecat/services/tts_service.py index 7583339c8..99aafdd17 100644 --- a/src/pipecat/services/tts_service.py +++ b/src/pipecat/services/tts_service.py @@ -933,7 +933,9 @@ class TTSService(AIService): # Stop the aggregation metric on the first sentence only. await self.stop_text_aggregation_metrics() await self._push_tts_frames( - AggregatedTextFrame(aggregate.text, aggregate.type), includes_inter_frame_spaces + AggregatedTextFrame(aggregate.text, aggregate.type), + includes_inter_frame_spaces, + append_tts_text_to_context=frame.append_to_context, ) async def _push_tts_frames(