Merge pull request #3896 from pipecat-ai/aleix/broadcast-interruption

Add broadcast_interruption() to FrameProcessor
This commit is contained in:
Aleix Conchillo Flaqué
2026-03-02 13:36:39 -08:00
committed by GitHub
27 changed files with 68 additions and 224 deletions

1
changelog/3896.added.md Normal file
View File

@@ -0,0 +1 @@
- Added `broadcast_interruption()` to `FrameProcessor`. This method pushes an `InterruptionFrame` both upstream and downstream directly from the calling processor, avoiding the round-trip through the pipeline task that `push_interruption_task_frame_and_wait()` required.

View File

@@ -0,0 +1 @@
- ⚠️ Removed `event` field and `complete()` method from `InterruptionFrame`. Removed `event` field from `InterruptionTaskFrame`. These are no longer needed since `broadcast_interruption()` does not require a round-trip completion signal.

View File

@@ -0,0 +1 @@
- Deprecated `push_interruption_task_frame_and_wait()` in `FrameProcessor`. Use `broadcast_interruption()` instead. The old method now delegates to `broadcast_interruption()` and logs a deprecation warning.