Wrap the detector chain with `deferred(...)` and append the LLM completion gate via a `UserTurnStrategies` specialization rather than a free-standing helper, mirroring the existing `ExternalUserTurnStrategies` pattern. The class lives next to other strategy containers in `pipecat.turns.user_turn_strategies`, so users discover it where they're already configuring `user_turn_strategies`. The deprecated `filter_incomplete_user_turns` flag now rewires through `FilterIncompleteUserTurnStrategies` under the hood, keeping the migration path identical to before. `deferred(...)` stays public as the explicit escape hatch for non-default compositions.
423 B
423 B
- Deprecated
LLMUserAggregatorParams.filter_incomplete_user_turns. Useuser_turn_strategies=FilterIncompleteUserTurnStrategies()(or addLLMTurnCompletionUserTurnStopStrategyto a customuser_turn_strategies.stop) instead. Setting the legacy flag still works for one release: the aggregator emits aDeprecationWarningand rewires the strategies as if you had passedFilterIncompleteUserTurnStrategiesdirectly.