Deprecate stt_service parameter in STTMuteFilter

This commit is contained in:
Mark Backman
2025-02-07 19:20:51 -05:00
parent 6855bc0ada
commit a1b58115ce
3 changed files with 17 additions and 5 deletions

View File

@@ -61,7 +61,6 @@ async def main():
stt = DeepgramSTTService(api_key=os.getenv("DEEPGRAM_API_KEY"))
# Configure the mute processor with both strategies
stt_mute_processor = STTMuteFilter(
stt_service=stt,
config=STTMuteConfig(
strategies={STTMuteStrategy.FIRST_SPEECH, STTMuteStrategy.FUNCTION_CALL}
),