Skip to content

Commit 204faa5

Browse files
authored
docs: correct numeric model selection guidance (#132246)
1 parent 52e43a4 commit 204faa5

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎docs/tools/slash-commands.md‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ plugins.
199199
| `/elevated [on\|off\|ask\|full]` | Toggle elevated mode. Alias: `/elev` |
200200
| `/exec host=<auto\|sandbox\|gateway\|node> security=<deny\|allowlist\|full> ask=<off\|on-miss\|always> node=<id>` | Show or set exec defaults |
201201
| `/login [codex\|openai\|openai-codex]` | Pair Codex/OpenAI login from a private chat or Web UI session. Owner/admin only |
202-
| `/model [name\|#\|status] [-s\|--session\|-a\|--agent\|-g\|--global]` | Show or select a model. `-s` changes only this session; owner/admin `-a` and `-g` also update configured defaults |
202+
| `/model [name\|default\|list\|status] [-s\|--session\|-a\|--agent\|-g\|--global]` | Show or select a model. `-s` changes only this session; owner/admin `-a` and `-g` also update configured defaults |
203203
| `/models [provider] [page] [limit=<n>\|all]` | List configured/auth-available providers or models |
204204
| `/queue <mode>` | Manage active-run queue behavior. See [Queue](/concepts/queue) and [Queue steering](/concepts/queue-steering) |
205205
| `/steer <message>` | Inject guidance into the active run. Alias: `/tell`. See [Steer](/tools/steer) |
@@ -384,10 +384,13 @@ Without a flag or that optional setting, direct owner/admin `/model <model>` com
384384

385385
The setting also accepts `"agent"` and `"global"`; it does not grant permission to write configured defaults. See [Model selection scope](/gateway/config-agents#agentsdefaultsmodelselectionscope).
386386

387+
In text commands, select a model by `provider/model` or a configured alias.
388+
Numeric selections such as `/model 3` are not supported.
389+
387390
```text
388-
/model # show model picker
389-
/model list # same
390-
/model 3 # select by number from picker
391+
/model # show current model and usage guidance
392+
/model list # browse providers (same as /models)
393+
/models openai # list models from a provider
391394
/model openai/gpt-5.4 # configured scope, or existing behavior when unset
392395
/model openai/gpt-5.4 -s # explicit session scope
393396
/model openai/gpt-5.4 -a # session + agent default update request
@@ -398,9 +401,10 @@ The setting also accepts `"agent"` and `"global"`; it does not grant permission
398401
/model status # detailed view with endpoint and API mode
399402
```
400403

401-
On Discord, `/model` and `/models` open an interactive picker with provider and
402-
model dropdowns. Discord follows the direct command behavior, including
403-
`modelSelectionScope`. Telegram callback selections always remain session-only.
404+
On Discord, the bare native `/model` and `/models` commands open an interactive
405+
picker. Choose a provider and model from the dropdowns, then select **Submit**.
406+
Discord follows the direct command behavior, including `modelSelectionScope`.
407+
Telegram model browsing uses callback buttons; selections always remain session-only.
404408
The picker respects `agents.defaults.modelPolicy.allow`,
405409
including `provider/*` entries. Without an explicit allowlist, model entries and
406410
aliases do not restrict selection.

0 commit comments

Comments
 (0)