@@ -61,7 +61,7 @@ The same `provider/model` can mean different things depending on where it came f
|
61 | 61 | - Configured defaults (`agents.defaults.model.primary` and agent-specific primaries) are the normal starting point and use `agents.defaults.model.fallbacks`. |
62 | 62 | - Auto fallback selections are temporary recovery state. They are stored with `modelOverrideSource: "auto"` so later turns can keep using the fallback chain without probing a known-bad primary every time; OpenClaw periodically probes the original primary again, clears the auto selection when it recovers, and announces fallback/recovery transitions once per state change. |
63 | 63 | - User session selections are exact. `/model`, the model picker, `session_status(model=...)`, and `sessions.patch` store `modelOverrideSource: "user"`; if that selected provider/model is unreachable, OpenClaw fails visibly instead of falling through to another configured model. |
64 | | -- Changing `agents.defaults.model.primary` does not rewrite existing session selections. If status says `This session is pinned to X; config primary Y will apply to new/unpinned sessions.`, switch the current session with `/model Y` or clear stale session state with `/reset`. |
| 64 | +- Changing `agents.defaults.model.primary` does not rewrite existing session selections. If status says `This session is pinned to X; config primary Y will apply to new/unpinned sessions.`, clear the current session selection with `/model default` so it inherits the configured primary again. |
65 | 65 | - Cron `--model` / payload `model` is a per-job primary. It still uses configured fallbacks unless the job supplies explicit payload `fallbacks` (use `fallbacks: []` for a strict cron run). |
66 | 66 | - CLI default-model and allowlist pickers respect `models.mode: "replace"` by listing explicit `models.providers.*.models` instead of loading the full built-in catalog. |
67 | 67 | - The Control UI model picker asks the Gateway for its configured model view: `agents.defaults.models` when present, including provider-wide `provider/*` entries, otherwise explicit `models.providers.*.models` plus providers with usable auth. The full built-in catalog is reserved for explicit browse views such as `models.list` with `view: "all"` or `openclaw models list --all`. |
@@ -188,6 +188,7 @@ You can switch models for the current session without restarting:
|
188 | 188 | /model list |
189 | 189 | /model 3 |
190 | 190 | /model openai/gpt-5.4 |
| 191 | +/model default |
191 | 192 | /model status |
192 | 193 | ``` |
193 | 194 | |
@@ -205,6 +206,7 @@ You can switch models for the current session without restarting:
|
205 | 206 | - If the agent is idle, the next run uses the new model right away. |
206 | 207 | - If a run is already active, OpenClaw marks a live switch as pending and only restarts into the new model at a clean retry point. |
207 | 208 | - If tool activity or reply output has already started, the pending switch can stay queued until a later retry opportunity or the next user turn. |
| 209 | +- `/model default` clears the session selection and returns the session to the configured default model. |
208 | 210 | - A user-selected `/model` ref is strict for that session: if the selected provider/model is unreachable, the reply fails visibly instead of silently answering from `agents.defaults.model.fallbacks`. This is different from configured defaults and cron job primaries, which can still use fallback chains. |
209 | 211 | - `/model status` is the detailed view (auth candidates and, when configured, provider endpoint `baseUrl` + `api` mode). |
210 | 212 | |
|