Skip to content

The agent that grows with you

test(models): pin exact-slug -900k eligibility for gpt-6.1-sol directly

kshitijk4poore8c97320ac86
diff --git a/tests/hermes_cli/test_gpt6_tiers_registration.py b/tests/hermes_cli/test_gpt6_tiers_registration.py
index 6984701a0e9..f82bb838b98 100644
--- a/tests/hermes_cli/test_gpt6_tiers_registration.py
+++ b/tests/hermes_cli/test_gpt6_tiers_registration.py
@@ -85,7 +85,7 @@ def test_gpt61_sol_900k_is_opt_in_exact_and_billed_as_the_base():
ids = _finalize_codex_models(["gpt-6.1-sol"]) # what live discovery hands the picker
assert ids.index("gpt-6.1-sol-900k") == ids.index("gpt-6.1-sol") + 1
- assert "gpt-6.1-sol-pro-900k" not in ids # -pro is not routable on Codex
+ assert not is_codex_900k_base("gpt-6.1-sol-pro") # exact slug: -pro is not routable on Codex
assert is_codex_context_variant("openai/gpt-6.1-sol-900k")
assert strip_codex_context_variant_suffix("gpt-6.1-sol-900k") == "gpt-6.1-sol"
# The base keeps the advertised 272K; only the explicit variant opts into the bump.