From 0abaae2f074f4f99c92e447ddc18bb9e3857c75a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Wed, 24 Dec 2025 10:30:07 -0800 Subject: [PATCH] LLMUserAggregator: no need to reset strategies Turn start strategies are already reset when triggered, so there's no need to reset them again. --- .../processors/aggregators/llm_response_universal.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/pipecat/processors/aggregators/llm_response_universal.py b/src/pipecat/processors/aggregators/llm_response_universal.py index ef4269a07..9f11a54e4 100644 --- a/src/pipecat/processors/aggregators/llm_response_universal.py +++ b/src/pipecat/processors/aggregators/llm_response_universal.py @@ -287,18 +287,6 @@ class LLMUserAggregator(LLMContextAggregator): await super().cleanup() await self._cleanup() - async def reset(self): - """Reset the aggregation state and turn start strategies.""" - await super().reset() - - if self.turn_start_strategies and self.turn_start_strategies.user: - for s in self.turn_start_strategies.user: - await s.reset() - - if self.turn_start_strategies and self.turn_start_strategies.bot: - for s in self.turn_start_strategies.bot: - await s.reset() - async def process_frame(self, frame: Frame, direction: FrameDirection): """Process frames for user speech aggregation and context management.