Merge pull request #3825 from pipecat-ai/mb/llm-user-aggregator-interim-transcription

Consume InterimTranscriptionFrame and TranslationFrame in LLMUserAggregator
This commit is contained in:
Mark Backman
2026-02-25 09:06:34 -05:00
committed by GitHub
3 changed files with 45 additions and 0 deletions

View File

@@ -461,6 +461,10 @@ class LLMUserAggregator(LLMContextAggregator):
await self.push_frame(frame, direction)
elif isinstance(frame, TranscriptionFrame):
await self._handle_transcription(frame)
elif isinstance(frame, (InterimTranscriptionFrame, TranslationFrame)):
# Interim transcriptions and translations are consumed here
# and not pushed downstream, same as final TranscriptionFrame.
pass
elif isinstance(frame, LLMRunFrame):
await self._handle_llm_run(frame)
elif isinstance(frame, LLMMessagesAppendFrame):