From f2678b8706182a34337f081a7904a46c1512094a Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Fri, 14 Aug 2026 01:14:25 -0700 Subject: [PATCH] test: registry cost-guard passthrough uses a models.dev-trusted provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The custom-provider pricing-trust fix makes provider="test" (not a models.dev provider) correctly silent — use anthropic in the fixture. --- tests/hermes_cli/test_model_selection_guards.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/hermes_cli/test_model_selection_guards.py b/tests/hermes_cli/test_model_selection_guards.py index 66da614daf1aa..e5d0b1e300a37 100644 --- a/tests/hermes_cli/test_model_selection_guards.py +++ b/tests/hermes_cli/test_model_selection_guards.py @@ -93,11 +93,11 @@ def test_cost_guard_still_fires_through_registry(): id="pricey/model", name="pricey/model", family="", - provider_id="test", + provider_id="anthropic", cost_input=50.0, cost_output=200.0, ) warnings = selection_warnings( - "pricey/model", provider="test", model_info=info + "pricey/model", provider="anthropic", model_info=info ) assert any(w.kind == "cost" for w in warnings)