DeepgramFluxSTTService does not support interruption_strategies
pipecat version
0.0.92
Python version
3.12.11 (any)
Operating System
macOS (any)
Issue description
When configuring a Pipeline to use DeepgramFluxSTTService and interruption_strategies, the interruption strategies do not work. The bot is interrupted with any amount of speech.
The issue is that normally, interruptions derive from the BaseInputTransport. But, in the case of Flux, an InterruptionTaskFrame is pushed upstream, so the BaseInputTransport does not control the interruption.
Reproduction steps
- Using the 07c Flux example, add
interruption_strategies=[MinWordsInterruptionStrategy(min_words=3)],to the PipelieParams - Run the bot and speak one word
Expected behavior
Bot isn't interrupted
Actual behavior
Bot is interrupted
Logs
I have recently forked the repo, so starting with this issue. Let's see If I am able to fix this.
@shubhamofbce cool!
FYI: we're doing a lot of work around interruptions now that will land in a future version of Pipecat, 1-2 weeks out. We're planning to handle this issue in that work.
@markbackman So Do you want me to not pick this up as your team is already working on this? or I can start looking at this??
@shubhamofbce we're working on it already. Thanks for offering.