You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a4c3739
Browse filesBrowse the repository at this point in the historyBrowse files
- Security/Exec: detect obfuscated commands before exec allowlist decisions and require explicit approval for obfuscation patterns. (#8592) Thanks @CornBrother0x and @vincentkoc.
16
16
- Agents/Compaction: pass `agentDir` into manual `/compact` command runs so compaction auth/profile resolution stays scoped to the active agent. (#24133) thanks @Glucksberg.
17
+
- Agents/Models: codify `agents.defaults.model` / `agents.defaults.imageModel` config-boundary input as `string | {primary,fallbacks}`, split explicit vs effective model resolution, and fix `models status --agent` source attribution so defaults-inherited agents are labeled as `defaults` while runtime selection still honors defaults fallback. (#24210) thanks @bianbiandashen.
17
18
- Security/Skills: escape user-controlled prompt, filename, and output-path values in `openai-image-gen` HTML gallery generation to prevent stored XSS in generated `index.html` output. (#12538) Thanks @CornBrother0x.
18
19
- Security/Skills: harden `skill-creator` packaging by skipping symlink entries and rejecting files whose resolved paths escape the selected skill root. (#24260, #16959) Thanks @CornBrother0x and @vincentkoc.
19
20
- Security/OTEL: redact sensitive values (API keys, tokens, credential fields) from diagnostics-otel log bodies, log attributes, and error/reason span fields before OTLP export. (#12542) Thanks @brandonwise.
Copy file name to clipboardExpand all lines: docs/gateway/configuration-reference.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -718,9 +718,15 @@ Time format in system prompt. Default: `auto` (OS preference).
718
718
}
719
719
```
720
720
721
+
-`model`: accepts either a string (`"provider/model"`) or an object (`{ primary, fallbacks }`).
722
+
- String form sets only the primary model.
723
+
- Object form sets primary plus ordered failover models.
724
+
-`imageModel`: accepts either a string (`"provider/model"`) or an object (`{ primary, fallbacks }`).
725
+
- Used by the `image` tool path as its vision-model config.
726
+
- Also used as fallback routing when the selected/default model cannot accept image input.
721
727
-`model.primary`: format `provider/model` (e.g. `anthropic/claude-opus-4-6`). If you omit the provider, OpenClaw assumes `anthropic` (deprecated).
722
728
-`models`: the configured model catalog and allowlist for `/model`. Each entry can include `alias` (shortcut) and `params` (provider-specific: `temperature`, `maxTokens`).
723
-
-`imageModel`: only used if the primary model lacks image input.
729
+
-Config writers that mutate these fields (for example `/models set`, `/models set-image`, and fallback add/remove commands) save canonical object form and preserve existing fallback lists when possible.
724
730
-`maxConcurrent`: max parallel agent runs across sessions (each session still serialized). Default: 1.
725
731
726
732
**Built-in alias shorthands** (only apply when the model is in `agents.defaults.models`):
0 commit comments