diff --git a/website/docs/reference/cli-commands.md b/website/docs/reference/cli-commands.md index def7e8779..c8d570898 100644 --- a/website/docs/reference/cli-commands.md +++ b/website/docs/reference/cli-commands.md @@ -199,7 +199,7 @@ Switch between already-configured models without leaving a session: /model openrouter:anthropic/claude-sonnet-4 # Switch back to cloud ``` -By default, `/model` changes apply **to the current session only**. Add `--global` to persist the change to `config.yaml`: +By default, `/model` changes apply **to the current session only**. Add `--global` to persist the change to `config.yaml` (or set `model.persist_switch_by_default: true` to make every switch persist): ``` /model claude-sonnet-4 --global # Switch and save as new default @@ -209,7 +209,7 @@ By default, `/model` changes apply **to the current session only**. Add `--globa If you've only configured OpenRouter, `/model` will only show OpenRouter models. To add another provider (Anthropic, DeepSeek, Copilot, etc.), exit your session and run `hermes model` from the terminal. ::: -Provider and base URL changes are persisted to `config.yaml` automatically. When switching away from a custom endpoint, the stale base URL is cleared to prevent it leaking into other providers. +On a `--global` switch, provider and base URL changes are persisted to `config.yaml` alongside the model. When switching away from a custom endpoint, the stale base URL is cleared to prevent it leaking into other providers. ## `hermes gateway` diff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.md index 5297a39f1..e04e1eb30 100644 --- a/website/docs/user-guide/configuration.md +++ b/website/docs/user-guide/configuration.md @@ -1323,13 +1323,17 @@ native Anthropic provider already controls effort directly and is unaffected. You can also change the reasoning effort at runtime with the `/reasoning` command: ``` -/reasoning # Show current effort level and display state -/reasoning high # Set reasoning effort to high -/reasoning none # Disable reasoning -/reasoning show # Show model thinking above each response -/reasoning hide # Hide model thinking +/reasoning # Show current effort level and display state +/reasoning high # Set reasoning effort to high (this session only) +/reasoning high --global # Set effort and persist to config.yaml +/reasoning none # Disable reasoning (this session only) +/reasoning show # Show model thinking above each response +/reasoning hide # Hide model thinking ``` +Effort changes are session-scoped by default; add `--global` to save the +new level as your `agent.reasoning_effort` default. + #### Per-Model Reasoning Overrides You can set different reasoning effort levels for different models. This is useful when you want high reasoning for complex models but medium for faster ones: