diff --git a/src/pipecat/processors/aggregators/llm_response_universal.py b/src/pipecat/processors/aggregators/llm_response_universal.py index 7b29fb8e1..3965acbdb 100644 --- a/src/pipecat/processors/aggregators/llm_response_universal.py +++ b/src/pipecat/processors/aggregators/llm_response_universal.py @@ -23,7 +23,6 @@ from loguru import logger from pipecat.adapters.schemas.tools_schema import ToolsSchema from pipecat.frames.frames import ( AssistantImageRawFrame, - BotStoppedSpeakingFrame, CancelFrame, EndFrame, Frame, @@ -651,9 +650,6 @@ class LLMAssistantAggregator(LLMContextAggregator): await self._handle_user_image_frame(frame) elif isinstance(frame, AssistantImageRawFrame): await self._handle_assistant_image_frame(frame) - elif isinstance(frame, BotStoppedSpeakingFrame): - await self.push_aggregation() - await self.push_frame(frame, direction) else: await self.push_frame(frame, direction)