fix: propagate append_to_context from TextFrame through TTS _process_text_frame

Co-authored-by: jamsea <614910+jamsea@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-18 04:24:25 +00:00
parent e3b69a93d9
commit 3dcab14675

View File

@@ -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(