diff --git a/tests/hermes_cli/test_codex_cli_model_picker.py b/tests/hermes_cli/test_codex_cli_model_picker.py index 3968437a856..b0dd1c6435a 100644 --- a/tests/hermes_cli/test_codex_cli_model_picker.py +++ b/tests/hermes_cli/test_codex_cli_model_picker.py @@ -95,7 +95,10 @@ def test_codex_picker_uses_live_codex_catalog(hermes_auth_only_env, tmp_path, mo providers = list_authenticated_providers( current_provider="openai-codex", - max_models=10, + # High cap so the curated catalog is never truncated — the assertion + # below checks count consistency, which only holds when max_models + # exceeds the catalog size (it grows as new gpt-5.x slugs land). + max_models=100, ) codex = next(p for p in providers if p["slug"] == "openai-codex")