Problem
The current model picker mixes two different choices into one surface:
- which backend/provider should run the main session, and
- which model slug should that provider use.
That makes the UI harder to explain once a provider supports more than one model. It also makes it difficult to show the active provider and active model separately in the TUI footer.
Proposed change
Split the user-facing flow into two related commands:
/provider chooses the active backend/provider, such as ChatGPT Codex, Claude, or a local CLI backend.
/model lists and selects model slugs for the active provider.
The Codex provider should expose its supported model slugs separately from the provider catalog, default to the current supported Codex model, and still allow migration/testing overrides when needed.
Acceptance criteria
Related files
lib/ourocode/model/*
lib/ourocode/provider/codex/client.ex
lib/ourocode/terminal/command_model_commands.ex
lib/ourocode/terminal/tui_state.ex
lib/ourocode/terminal/tui_chat.ex
Problem
The current model picker mixes two different choices into one surface:
That makes the UI harder to explain once a provider supports more than one model. It also makes it difficult to show the active provider and active model separately in the TUI footer.
Proposed change
Split the user-facing flow into two related commands:
/providerchooses the active backend/provider, such as ChatGPT Codex, Claude, or a local CLI backend./modellists and selects model slugs for the active provider.The Codex provider should expose its supported model slugs separately from the provider catalog, default to the current supported Codex model, and still allow migration/testing overrides when needed.
Acceptance criteria
/provideropens the provider/backend selection surface./modelshows model slugs for the active provider instead of selecting a backend directly.Related files
lib/ourocode/model/*lib/ourocode/provider/codex/client.exlib/ourocode/terminal/command_model_commands.exlib/ourocode/terminal/tui_state.exlib/ourocode/terminal/tui_chat.ex