From beced6833720f5241b82b007e955fc89a80edb6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Mon, 24 Jun 2024 17:33:45 -0700 Subject: [PATCH] aggregators: uses intermediate results for LLMAssistantResponseAggregator --- src/pipecat/processors/aggregators/llm_response.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pipecat/processors/aggregators/llm_response.py b/src/pipecat/processors/aggregators/llm_response.py index 4c60949bd..757076f2c 100644 --- a/src/pipecat/processors/aggregators/llm_response.py +++ b/src/pipecat/processors/aggregators/llm_response.py @@ -13,7 +13,6 @@ from pipecat.frames.frames import ( Frame, InterimTranscriptionFrame, LLMFullResponseEndFrame, - LLMFullResponseStartFrame, LLMResponseEndFrame, LLMResponseStartFrame, LLMMessagesFrame, @@ -152,8 +151,8 @@ class LLMAssistantResponseAggregator(LLMResponseAggregator): super().__init__( messages=messages, role="assistant", - start_frame=LLMFullResponseStartFrame, - end_frame=LLMFullResponseEndFrame, + start_frame=LLMResponseStartFrame, + end_frame=LLMResponseEndFrame, accumulator_frame=TextFrame, handle_interruptions=True )