The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(config): the unseeded-live-key examples use gateway.proxy_url
Teknium1a74bb8d18b4
diff --git a/tests/hermes_cli/test_set_config_value.py b/tests/hermes_cli/test_set_config_value.pyindex 39c37ac1077..471b7804e7b 100644--- a/tests/hermes_cli/test_set_config_value.py+++ b/tests/hermes_cli/test_set_config_value.py@@ -251,14 +251,14 @@ class TestConfigGetPhantomKeyNotice:def test_unseeded_live_key_notice_hedges_instead_of_asserting_unread(self, _isolated_hermes_home, capsys):- # The check is a DEFAULT_CONFIG walk; ``browser.cloud_provider`` is deliberately unseeded- # yet read by tools/browser_session_cloud.py, so the notice must not claim it is never read.- (_isolated_hermes_home / "config.yaml").write_text("browser:\n cloud_provider: local\n")+ # The check is a DEFAULT_CONFIG walk; ``gateway.proxy_url`` is deliberately unseeded+ # yet read by gateway/run_turn.py, so the notice must not claim it is never read.+ (_isolated_hermes_home / "config.yaml").write_text("gateway:\n proxy_url: http://127.0.0.1:1\n")- config_command(argparse.Namespace(config_command="get", key="browser.cloud_provider", json=False))+ config_command(argparse.Namespace(config_command="get", key="gateway.proxy_url", json=False))captured = capsys.readouterr()- assert captured.out.strip() == "local"+ assert captured.out.strip() == "http://127.0.0.1:1"assert "may not read it" in captured.errassert "does not read it" not in captured.err@@ -497,9 +497,9 @@ class TestSchemaValidation:assert f"Did you mean: {suggestion}" in err@pytest.mark.parametrize("key,value,expected,suggestion", [- # ``stt.provider`` is read at runtime (tools/transcription_tools.py) but has no seeded- # default: a stored value is an explicit user pick, so the schema walk must not refuse it.- ("stt.provider", "whisper", "whisper", None),+ # ``gateway.proxy_url`` is read at runtime (gateway/run_turn.py) but has no seeded+ # default, so the schema walk must not refuse it.+ ("gateway.proxy_url", "http://127.0.0.1:1", "http://127.0.0.1:1", None),# TRADE-OFF made explicit: a same-section typo (``agent.max_turnz``) is indistinguishable# from an unseeded key, so it is written too — the user gets the sibling suggestion# (``agent.max_turns``) instead of a refusal.