mirror of https://github.com/openclaw/openclaw.git
docs: refresh generic model examples
This commit is contained in:
parent
bcd11176ef
commit
6507f54965
|
|
@ -240,7 +240,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
|
|||
userTimezone: "America/Chicago",
|
||||
model: {
|
||||
primary: "anthropic/claude-sonnet-4-6",
|
||||
fallbacks: ["anthropic/claude-opus-4-6", "openai/gpt-5.2"],
|
||||
fallbacks: ["anthropic/claude-opus-4-6", "openai/gpt-5.4"],
|
||||
},
|
||||
imageModel: {
|
||||
primary: "openrouter/anthropic/claude-sonnet-4-6",
|
||||
|
|
@ -248,7 +248,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
|
|||
models: {
|
||||
"anthropic/claude-opus-4-6": { alias: "opus" },
|
||||
"anthropic/claude-sonnet-4-6": { alias: "sonnet" },
|
||||
"openai/gpt-5.2": { alias: "gpt" },
|
||||
"openai/gpt-5.4": { alias: "gpt" },
|
||||
},
|
||||
skills: ["github", "weather"], // inherited by agents that omit list[].skills
|
||||
thinkingDefault: "low",
|
||||
|
|
|
|||
|
|
@ -1049,7 +1049,7 @@ Periodic heartbeat runs.
|
|||
defaults: {
|
||||
heartbeat: {
|
||||
every: "30m", // 0m disables
|
||||
model: "openai/gpt-5.2-mini",
|
||||
model: "openai/gpt-5.4-mini",
|
||||
includeReasoning: false,
|
||||
lightContext: false, // default: false; true keeps only HEARTBEAT.md from workspace bootstrap files
|
||||
isolatedSession: false, // default: false; true runs each heartbeat in a fresh session (no conversation history)
|
||||
|
|
@ -1912,7 +1912,7 @@ Further restrict tools for specific providers or models. Order: base profile →
|
|||
profile: "coding",
|
||||
byProvider: {
|
||||
"google-antigravity": { profile: "minimal" },
|
||||
"openai/gpt-5.2": { allow: ["group:fs", "sessions_list"] },
|
||||
"openai/gpt-5.4": { allow: ["group:fs", "sessions_list"] },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -1953,7 +1953,7 @@ Controls elevated (host) exec access:
|
|||
notifyOnExitEmptySuccess: false,
|
||||
applyPatch: {
|
||||
enabled: false,
|
||||
allowModels: ["gpt-5.2"],
|
||||
allowModels: ["gpt-5.4"],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
@ -2803,7 +2803,7 @@ See [Multiple Gateways](/gateway/multiple-gateways).
|
|||
messageTemplate: "From: {{messages[0].from}}\nSubject: {{messages[0].subject}}\n{{messages[0].snippet}}",
|
||||
deliver: true,
|
||||
channel: "last",
|
||||
model: "openai/gpt-5.2-mini",
|
||||
model: "openai/gpt-5.4-mini",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ Rules of thumb:
|
|||
- If `allow` is non-empty, everything else is treated as blocked.
|
||||
- Tool policy is the hard stop: `/exec` cannot override a denied `exec` tool.
|
||||
- `/exec` only changes session defaults for authorized senders; it does not grant tool access.
|
||||
Provider tool keys accept either `provider` (e.g. `google-antigravity`) or `provider/model` (e.g. `openai/gpt-5.2`).
|
||||
Provider tool keys accept either `provider` (e.g. `google-antigravity`) or `provider/model` (e.g. `openai/gpt-5.4`).
|
||||
|
||||
### Tool groups (shorthands)
|
||||
|
||||
|
|
|
|||
|
|
@ -542,7 +542,7 @@ Some controls depend on backend capabilities. If a backend does not support a co
|
|||
| `/acp close` | Close session and unbind thread targets. | `/acp close` |
|
||||
| `/acp status` | Show backend, mode, state, runtime options, capabilities. | `/acp status` |
|
||||
| `/acp set-mode` | Set runtime mode for target session. | `/acp set-mode plan` |
|
||||
| `/acp set` | Generic runtime config option write. | `/acp set model openai/gpt-5.2` |
|
||||
| `/acp set` | Generic runtime config option write. | `/acp set model openai/gpt-5.4` |
|
||||
| `/acp cwd` | Set runtime working directory override. | `/acp cwd /Users/user/Projects/repo` |
|
||||
| `/acp permissions` | Set approval policy profile. | `/acp permissions strict` |
|
||||
| `/acp timeout` | Set runtime timeout (seconds). | `/acp timeout 120` |
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ when you want to disable it or restrict it to specific models:
|
|||
{
|
||||
tools: {
|
||||
exec: {
|
||||
applyPatch: { workspaceOnly: true, allowModels: ["gpt-5.2"] },
|
||||
applyPatch: { workspaceOnly: true, allowModels: ["gpt-5.4"] },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ The filtering order is:
|
|||
Each level can further restrict tools, but cannot grant back denied tools from earlier levels.
|
||||
If `agents.list[].tools.sandbox.tools` is set, it replaces `tools.sandbox.tools` for that agent.
|
||||
If `agents.list[].tools.profile` is set, it overrides `tools.profile` for that agent.
|
||||
Provider tool keys accept either `provider` (e.g. `google-antigravity`) or `provider/model` (e.g. `openai/gpt-5.2`).
|
||||
Provider tool keys accept either `provider` (e.g. `google-antigravity`) or `provider/model` (e.g. `openai/gpt-5.4`).
|
||||
|
||||
Tool policies support `group:*` shorthands that expand to multiple tools. See [Tool groups](/gateway/sandbox-vs-tool-policy-vs-elevated#tool-groups-shorthands) for the full list.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue