mute_until_first_bot_complete_user_mute_strategy
User mute strategy that mutes the user until the bot completes its first speech.
- class pipecat.turns.user_mute.mute_until_first_bot_complete_user_mute_strategy.MuteUntilFirstBotCompleteUserMuteStrategy[source]
Bases:
BaseUserMuteStrategyUser mute strategy that mutes the user until the bot completes its first speech.
This strategy mutes user frames immediately from the start of the interaction, even if the bot has not started speaking yet. User input remains muted until the bot finishes its first speaking turn.
After the bot completes its initial speech, all subsequent user frames are allowed to pass through without muting.
Use this strategy when the bot must fully control the beginning of the interaction and deliver its first response without any user interruption.