Codex model list: all models, visible failures, hx models #124

Merged
hermes merged 1 commits from fix/codex-model-list into main 2026-10-06 10:27:37 +00:00
Collaborator

/model showed only 3 old Codex models. Causes: client_version=0.99.0 makes the server hide newer models; strict visibility == "list" filter; fetch failures silently fell back to the 3 built-in ids; 24 h cache; popup capped at 8 rows.

  • Codex: client_version 99.0.0 (override HX_CODEX_CLIENT_VERSION); drop only visibility: hide / supported_in_api: false.
  • Failed fetch: expired cache kept, warning printed (live model list failed (reason); using ...).
  • Cache TTL 1 h.
  • hx models [--refresh]: source + ids per provider.
  • /model completion shows all matches (fuzzy, both providers); popup scrolls. Free slugs still accepted.
  • Tests: parse_models fixtures (hide, none, no visibility, supported_in_api false). Full cargo test + clippy green.
`/model` showed only 3 old Codex models. Causes: `client_version=0.99.0` makes the server hide newer models; strict `visibility == "list"` filter; fetch failures silently fell back to the 3 built-in ids; 24 h cache; popup capped at 8 rows. - Codex: `client_version` 99.0.0 (override `HX_CODEX_CLIENT_VERSION`); drop only `visibility: hide` / `supported_in_api: false`. - Failed fetch: expired cache kept, warning printed (`live model list failed (reason); using ...`). - Cache TTL 1 h. - `hx models [--refresh]`: source + ids per provider. - `/model` completion shows all matches (fuzzy, both providers); popup scrolls. Free slugs still accepted. - Tests: parse_models fixtures (hide, none, no visibility, supported_in_api false). Full `cargo test` + clippy green.
hermes added 1 commit 2026-10-06 10:19:41 +00:00
hermes merged commit f04229f3e0 into main 2026-10-06 10:27:37 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#124