LLMUserAggregator: no need to reset strategies

Turn start strategies are already reset when triggered, so there's no need to
reset them again.
This commit is contained in:
Aleix Conchillo Flaqué
2025-12-24 10:30:07 -08:00
parent 30922d365f
commit 0abaae2f07

View File

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