audio(interruptions): deprecate MinWordsInterruptionStrategy

This commit is contained in:
Aleix Conchillo Flaqué
2025-12-16 10:33:38 -08:00
parent 223052e6e7
commit 359ac302f5

View File

@@ -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):