LLMAssistantResponseAggregator: initialize messages
This commit is contained in:
@@ -420,7 +420,7 @@ class LLMUserResponseAggregator(LLMUserContextAggregator):
|
|||||||
|
|
||||||
|
|
||||||
class LLMAssistantResponseAggregator(LLMAssistantContextAggregator):
|
class LLMAssistantResponseAggregator(LLMAssistantContextAggregator):
|
||||||
def __init__(self, messages: List[dict], **kwargs):
|
def __init__(self, messages: List[dict] = [], **kwargs):
|
||||||
super().__init__(context=OpenAILLMContext(messages), **kwargs)
|
super().__init__(context=OpenAILLMContext(messages), **kwargs)
|
||||||
|
|
||||||
async def push_aggregation(self):
|
async def push_aggregation(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user