/model lists every provider you have a key or sign-in for, grouped by...

/model lists every provider you have a key or sign-in for, grouped by provider; picking one switches provider and model for the chat

A bare /model (full-screen picker, line chat, gateways) now adds, after the current provider's catalogue, custom providers and the fallback chain, the models of every other built-in provider with a credential here, written provider:model and grouped by provider (an openai-codex chat shows opencode-go: models when OpenCode Go has a key). Their lists come from the cache oscar model list --provider P writes, else the built-in list: no request is made and no key is sent, so a slow provider never holds the picker up. --global still saves a choice; direct provider:model, aliases and /model reset are unchanged. The line chat lists up to 60.

  • config: has_credential (shared with auto_detect) and usable_providers
  • providers: static_catalog beside cached_catalog
  • model_switch: other_provider_choices; resolve split into plan_switch and finish_switch so selection is tested offline, including Codex → OpenCode Go

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

Merge request reports

Loading
Loading