pipecat icon indicating copy to clipboard operation
pipecat copied to clipboard

DeepgramFluxSTTService does not support interruption_strategies

Open markbackman opened this issue 2 months ago • 4 comments

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


markbackman avatar Nov 05 '25 21:11 markbackman

I have recently forked the repo, so starting with this issue. Let's see If I am able to fix this.

shubhamofbce avatar Nov 10 '25 18:11 shubhamofbce

@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 avatar Nov 10 '25 18:11 markbackman

@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 avatar Nov 10 '25 18:11 shubhamofbce

@shubhamofbce we're working on it already. Thanks for offering.

markbackman avatar Nov 10 '25 18:11 markbackman