From 63950912f01c2ffa79d53b6aa8c67aa52ac3043b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Fri, 14 Feb 2025 15:55:22 -0800 Subject: [PATCH] LLMAssistantContextAggregator: add missing variable initialization --- src/pipecat/processors/aggregators/llm_response.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pipecat/processors/aggregators/llm_response.py b/src/pipecat/processors/aggregators/llm_response.py index c12b0d90b..ca73649b2 100644 --- a/src/pipecat/processors/aggregators/llm_response.py +++ b/src/pipecat/processors/aggregators/llm_response.py @@ -358,6 +358,8 @@ class LLMAssistantContextAggregator(LLMContextResponseAggregator): super().__init__(context=context, role="assistant", **kwargs) self._expect_stripped_words = expect_stripped_words + self._started = False + self.reset() async def process_frame(self, frame: Frame, direction: FrameDirection):