Merge pull request #3819 from pipecat-ai/pk/make-update-settings-frames-uninterruptible

Make `ServiceUpdateSettingsFrame` uninterruptible—settings updates ar…
This commit is contained in:
kompfner
2026-02-24 21:57:41 -05:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
- `ServiceSettingsUpdateFrame`s are now `UninterruptibleFrame`s. Generally speaking, you don't want a user interruption to prevent a service setting change from going into effect. Note that you usually don't use `ServiceSettingsUpdateFrame` directly, you use one of its subclasses:
- `LLMUpdateSettingsFrame`
- `TTSUpdateSettingsFrame`
- `STTUpdateSettingsFrame`

View File

@@ -2118,7 +2118,7 @@ class TTSStoppedFrame(ControlFrame):
@dataclass
class ServiceUpdateSettingsFrame(ControlFrame):
class ServiceUpdateSettingsFrame(ControlFrame, UninterruptibleFrame):
"""Base frame for updating service settings.
Supports both a ``settings`` dict (for backward compatibility) and a