The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: pin the relay verdict, not the host-dependent reason string
Tekniumeebe01790d27
diff --git a/tests/tools/test_voice_client_config.py b/tests/tools/test_voice_client_config.pyindex bafdd18847f..ac9a0d46748 100644--- a/tests/tools/test_voice_client_config.py+++ b/tests/tools/test_voice_client_config.py@@ -92,8 +92,11 @@ def test_language_pin_propagates(voice_home, monkeypatch):def test_local_whisper_relays(voice_home):voice_home({"stt": {"provider": "local"}})stt = _resolve()["stt"]+ # The CONTRACT is the verdict: a server-host-only provider must relay.+ # The reason string varies with the host (faster-whisper installed vs+ # not, lazy installs allowed vs not) — don't pin it.assert stt["mode"] == "relay"- assert "local" in stt["reason"]+ assert "api_key" not in sttdef test_missing_credentials_relay(voice_home):