aggregators: uses intermediate results for LLMAssistantResponseAggregator
This commit is contained in:
@@ -13,7 +13,6 @@ from pipecat.frames.frames import (
|
|||||||
Frame,
|
Frame,
|
||||||
InterimTranscriptionFrame,
|
InterimTranscriptionFrame,
|
||||||
LLMFullResponseEndFrame,
|
LLMFullResponseEndFrame,
|
||||||
LLMFullResponseStartFrame,
|
|
||||||
LLMResponseEndFrame,
|
LLMResponseEndFrame,
|
||||||
LLMResponseStartFrame,
|
LLMResponseStartFrame,
|
||||||
LLMMessagesFrame,
|
LLMMessagesFrame,
|
||||||
@@ -152,8 +151,8 @@ class LLMAssistantResponseAggregator(LLMResponseAggregator):
|
|||||||
super().__init__(
|
super().__init__(
|
||||||
messages=messages,
|
messages=messages,
|
||||||
role="assistant",
|
role="assistant",
|
||||||
start_frame=LLMFullResponseStartFrame,
|
start_frame=LLMResponseStartFrame,
|
||||||
end_frame=LLMFullResponseEndFrame,
|
end_frame=LLMResponseEndFrame,
|
||||||
accumulator_frame=TextFrame,
|
accumulator_frame=TextFrame,
|
||||||
handle_interruptions=True
|
handle_interruptions=True
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user