examples: make sure unhandled frames are always pushed

This commit is contained in:
Aleix Conchillo Flaqué
2025-01-30 13:15:49 -08:00
parent 642affb2fe
commit 0131d0a531
4 changed files with 8 additions and 1 deletions

View File

@@ -212,7 +212,7 @@ class InputTranscriptionFrameEmitter(FrameProcessor):
elif isinstance(frame, LLMFullResponseEndFrame):
await self.push_frame(LLMDemoTranscriptionFrame(text=self._aggregation.strip()))
self._aggregation = ""
elif isinstance(frame, MetricsFrame):
else:
await self.push_frame(frame, direction)