The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: use handle_request for voice.toggle in audio guard test
kshitij996ae10ebd33
diff --git a/tests/test_audio_playback_guard.py b/tests/test_audio_playback_guard.pyindex 79d5d8d35b0..c20c4cbe9e8 100644--- a/tests/test_audio_playback_guard.py+++ b/tests/test_audio_playback_guard.py@@ -57,7 +57,7 @@ def test_voice_toggle_still_leaks_the_env_var_but_speech_is_stubbed(monkeypatch))monkeypatch.setenv("HERMES_VOICE", "1")- resp = server.dispatch(+ resp = server.handle_request({"id": "tts", "method": "voice.toggle", "params": {"action": "tts"}})