From bc0edb8a5b27ad3bf3950ba3da644ddc74572fc6 Mon Sep 17 00:00:00 2001 From: teknium1 <127238744+teknium1@users.noreply.github.com> Date: Sun, 13 Sep 2026 12:42:49 -0700 Subject: [PATCH] test: main-alias aux pin is not stale in the backend switch report Backend half of #97310 (the desktop banner has its own vitest case in the salvaged commit). --- tests/hermes_cli/test_stale_aux_local_endpoint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/hermes_cli/test_stale_aux_local_endpoint.py b/tests/hermes_cli/test_stale_aux_local_endpoint.py index d3d3e0f82b..3782925746 100644 --- a/tests/hermes_cli/test_stale_aux_local_endpoint.py +++ b/tests/hermes_cli/test_stale_aux_local_endpoint.py @@ -12,6 +12,8 @@ def test_local_endpoint_pins_are_excluded_from_stale_aux_report(): "vision": {"provider": "openai", "model": "llama3.2-vision:11b", "base_url": "http://192.168.1.10:11434/v1"}, "compression": {"provider": "openai", "model": "gpt-4o-mini", "base_url": "https://api.example.com/v1"}, "curator": {"provider": "openai", "model": "gpt-4o-mini"}, + # "main" follows the main provider by definition (#97310); Moonshot's Hermes guide ships it. + "review": {"provider": "main", "model": "kimi-k3"}, }} stale = _stale_aux_pins(cfg, "ollama-cloud") # Only the pins that can still bill a provider survive: public custom URL, no base_url.