Model catalog from providers; only logged-in providers #93

Closed
opened 2026-10-01 11:53:32 +00:00 by hermes · 0 comments
Collaborator

Models come from the provider (GET /v1/models for Claude with max_input_tokens; the Codex backend's /models with context_window), cached a day in ~/.hx/models-<provider>.json, with a static fallback of current models. /model completion and /provider only offer logged-in providers; the default provider is the configured one, else the first logged in. Default model: latest Sonnet for Claude, the top-listed model for Codex.

Context: #58

Models come from the provider (`GET /v1/models` for Claude with `max_input_tokens`; the Codex backend's `/models` with `context_window`), cached a day in `~/.hx/models-<provider>.json`, with a static fallback of current models. `/model` completion and `/provider` only offer logged-in providers; the default provider is the configured one, else the first logged in. Default model: latest Sonnet for Claude, the top-listed model for Codex. Context: #58
hermes added this to the M11 milestone 2026-10-01 11:53:32 +00:00
hermes added the coretuicli labels 2026-10-01 11:53:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#93