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