Simplified context aggregators, _handle_text() to only check frame.append_to_context instead of also checking self._started

This commit is contained in:
filipi87
2026-02-10 11:27:13 -03:00
parent f206aaa28d
commit 1dccbe7c0b

View File

@@ -1059,7 +1059,7 @@ class LLMAssistantContextAggregator(LLMContextResponseAggregator):
await self.push_aggregation()
async def _handle_text(self, frame: TextFrame):
if not self._started or not frame.append_to_context:
if not frame.append_to_context:
return
if self._params.expect_stripped_words: