Skip to content

fix: use live Codex models in picker#16124

Open
Brandon168 wants to merge 1 commit into
NousResearch:mainfrom
Brandon168:fix/codex-live-model-picker
Open

fix: use live Codex models in picker#16124
Brandon168 wants to merge 1 commit into
NousResearch:mainfrom
Brandon168:fix/codex-live-model-picker

Conversation

@Brandon168

Copy link
Copy Markdown

Summary

  • Use live OpenAI Codex model discovery for the authenticated model picker instead of the static curated fallback list.
  • Refresh Codex fallback defaults to the current live lineup: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex, gpt-5.2.
  • Add regression coverage so stale Codex slugs are not shown when live discovery is available.

Test Plan

  • venv/bin/python -m pytest tests/hermes_cli/test_codex_models.py tests/hermes_cli/test_codex_cli_model_picker.py -q
  • venv/bin/python -m pytest tests/hermes_cli/test_codex_models.py tests/hermes_cli/test_codex_cli_model_picker.py tests/hermes_cli/test_user_providers_model_switch.py tests/hermes_cli/test_model_switch_custom_providers.py -q

Live verification

  • provider_model_ids('openai-codex', force_refresh=True) returned: ['gpt-5.5', 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5.3-codex', 'gpt-5.2']
  • list_authenticated_providers(..., current_provider='openai-codex') now returns the same five Codex models.

@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard provider/openai OpenAI / Codex Responses API P3 Low — cosmetic, nice to have labels Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have provider/openai OpenAI / Codex Responses API type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants