The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(local-models): stub installed_engine, not the retired installed_tags/default_tag
ethernet78f9949bde1a
diff --git a/tests/hermes_cli/test_local_quickstart.py b/tests/hermes_cli/test_local_quickstart.pyindex dd266329af7..85c9d4c7dea 100644--- a/tests/hermes_cli/test_local_quickstart.py+++ b/tests/hermes_cli/test_local_quickstart.py@@ -55,7 +55,9 @@ def test_quickstart_without_recommendation_requires_explicit_choice(client, monk)monkeypatch.setattr(lm.hardware, "probe_budget", lambda **kw: budget)monkeypatch.setattr(lm.catalog, "refresh_catalog_soon", lambda: None)- monkeypatch.setattr(lm.binaries, "installed_tags", lambda: [lm.binaries.default_tag()])+ monkeypatch.setattr(lm.binaries, "installed_engine",+ lambda *args, **kwargs: lm.binaries.Engine("cpu", "b1", Path("unused")))+ monkeypatch.setattr(lm, "_runtime_target", lambda requested=None: ("b1", "cpu"))monkeypatch.setattr(lm.bootstrap, "staged_model_ids", lambda: set())config = lm.config_mod.load_config()config.setdefault("local_runtime", {})["backend"] = "cpu"