Merge pull request #3189 from pipecat-ai/aleix/introduce-uninterruptible-frames

introduce uninterruptible frames
This commit is contained in:
Aleix Conchillo Flaqué
2025-12-07 14:02:35 -08:00
committed by GitHub
5 changed files with 189 additions and 57 deletions

6
changelog/3189.added.md Normal file
View File

@@ -0,0 +1,6 @@
- Data and control frames can now be marked as non-interruptible by using the
`UninterruptibleFrame` mixin. Frames marked as `UninterruptibleFrame` will not
be interrupted during processing, and any queued frames of this type will be
retained in the internal queues. This is useful when you need ordered frames
(data or control) that should not be discarded or cancelled due to
interruptions.

View File

@@ -0,0 +1,3 @@
- `FunctionCallInProgressFrame` and `FunctionCallResultFrame` have changed from
system frames to a control frame and a data frame, respectively, and are now
both marked as `UninterruptibleFrame`.