From 539e0b66fb5abb446358c0b21ece7162fab63237 Mon Sep 17 00:00:00 2001 From: Kwindla Hultman Kramer Date: Mon, 30 Sep 2024 09:26:06 -0700 Subject: [PATCH] small fix as per aleix --- src/pipecat/processors/aggregators/llm_response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pipecat/processors/aggregators/llm_response.py b/src/pipecat/processors/aggregators/llm_response.py index 4ea38b89f..479746471 100644 --- a/src/pipecat/processors/aggregators/llm_response.py +++ b/src/pipecat/processors/aggregators/llm_response.py @@ -115,7 +115,7 @@ class LLMResponseAggregator(FrameProcessor): if self._expect_stripped_words: self._aggregation += f" {frame.text}" if self._aggregation else frame.text else: - self._aggregation += frame.text if self._aggregation else frame.text + self._aggregation += frame.text # We have recevied a complete sentence, so if we have seen the # end frame and we were still aggregating, it means we should # send the aggregation.