LLMUserContextAggregator: add space between transcriptions

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-13 07:24:05 -08:00
parent 9f6a1c093a
commit 84510fd521
2 changed files with 4 additions and 4 deletions

View File

@@ -287,7 +287,7 @@ class LLMUserContextAggregator(LLMContextResponseAggregator):
await self.push_aggregation()
async def _handle_transcription(self, frame: TranscriptionFrame):
self._aggregation += frame.text
self._aggregation += f" {frame.text}" if self._aggregation else frame.text
# We just got a final result, so let's reset interim results.
self._seen_interim_results = False
# Reset aggregation timer.