Add new STTMuteStrategy: MUTE_UNTIL_FIRST_BOT_COMPLETE

This commit is contained in:
Mark Backman
2025-02-11 18:36:16 -05:00
parent 24cdcd74e6
commit 397768d872
3 changed files with 42 additions and 8 deletions

View File

@@ -62,7 +62,10 @@ async def main():
# Configure the mute processor with both strategies
stt_mute_processor = STTMuteFilter(
config=STTMuteConfig(
strategies={STTMuteStrategy.FIRST_SPEECH, STTMuteStrategy.FUNCTION_CALL}
strategies={
STTMuteStrategy.MUTE_UNTIL_FIRST_BOT_COMPLETE,
STTMuteStrategy.FUNCTION_CALL,
}
),
)