From b5c0ac5f25c213272314d6498d9ffb66f06aa6a6 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Wed, 18 Jun 2025 20:32:47 -0400 Subject: [PATCH] allow_interruptions=True --- CHANGELOG.md | 2 ++ src/pipecat/pipeline/task.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ae46e81b..0e365c710 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- The `PipelineParams` arg `allow_interruptions` now defaults to `True`. + - `TavusTransport` and `TavusVideoService` now send audio to Tavus using WebRTC audio tracks instead of `app-messages` over WebSocket. This should improve the overall audio quality. diff --git a/src/pipecat/pipeline/task.py b/src/pipecat/pipeline/task.py index 736f98244..36f24c522 100644 --- a/src/pipecat/pipeline/task.py +++ b/src/pipecat/pipeline/task.py @@ -64,7 +64,7 @@ class PipelineParams(BaseModel): model_config = ConfigDict(arbitrary_types_allowed=True) - allow_interruptions: bool = False + allow_interruptions: bool = True audio_in_sample_rate: int = 16000 audio_out_sample_rate: int = 24000 enable_heartbeats: bool = False