From 359ac302f541f47ff0e8994d83034bbff3b2461c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 16 Dec 2025 10:33:38 -0800 Subject: [PATCH] audio(interruptions): deprecate MinWordsInterruptionStrategy --- .../audio/interruptions/min_words_interruption_strategy.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pipecat/audio/interruptions/min_words_interruption_strategy.py b/src/pipecat/audio/interruptions/min_words_interruption_strategy.py index 3f2dd5825..dad1277eb 100644 --- a/src/pipecat/audio/interruptions/min_words_interruption_strategy.py +++ b/src/pipecat/audio/interruptions/min_words_interruption_strategy.py @@ -17,6 +17,13 @@ class MinWordsInterruptionStrategy(BaseInterruptionStrategy): This is an interruption strategy based on a minimum number of words said by the user. That is, the strategy will be true if the user has said at least that amount of words. + + .. deprecated:: 0.0.99 + + This class is deprecated, use + `pipecat.turns.user.MinWordsUserTurnStartStrategy` with `PipelineTask`'s + new `turn_start_strategies` parameter instead. + """ def __init__(self, *, min_words: int):