aggregators: uses intermediate results for LLMAssistantResponseAggregator

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-24 17:33:45 -07:00
parent 0b6a19802f
commit beced68337

View File

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