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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,10 @@ Docs: https://docs.openclaw.ai
4
4
5
5
## Unreleased
6
6
7
+
### Fixes
8
+
9
+
- Slack/media: preserve bearer auth across same-origin `files.slack.com` redirects while still stripping it on cross-origin Slack CDN hops, so `url_private_download` image attachments load again. (#62960) Thanks @vincentkoc.
Copy file name to clipboardExpand all lines: docs/gateway/configuration-reference.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1156,6 +1156,20 @@ Optional CLI backends for text-only fallback runs (no tool calls). Useful as a b
1156
1156
- Sessions supported when `sessionArg` is set.
1157
1157
- Image pass-through supported when `imageArg` accepts file paths.
1158
1158
1159
+
### `agents.defaults.systemPromptOverride`
1160
+
1161
+
Replace the entire OpenClaw-assembled system prompt with a fixed string. Set at the default level (`agents.defaults.systemPromptOverride`) or per agent (`agents.list[].systemPromptOverride`). Per-agent values take precedence; an empty or whitespace-only value is ignored. Useful for controlled prompt experiments.
1162
+
1163
+
```json5
1164
+
{
1165
+
agents: {
1166
+
defaults: {
1167
+
systemPromptOverride:"You are a helpful assistant.",
1168
+
},
1169
+
},
1170
+
}
1171
+
```
1172
+
1159
1173
### `agents.defaults.heartbeat`
1160
1174
1161
1175
Periodic heartbeat runs.
@@ -1168,6 +1182,7 @@ Periodic heartbeat runs.
1168
1182
every:"30m", // 0m disables
1169
1183
model:"openai/gpt-5.4-mini",
1170
1184
includeReasoning:false,
1185
+
includeSystemPromptSection:true, // default: true; false omits the Heartbeat section from the system prompt
1171
1186
lightContext:false, // default: false; true keeps only HEARTBEAT.md from workspace bootstrap files
1172
1187
isolatedSession:false, // default: false; true runs each heartbeat in a fresh session (no conversation history)
1173
1188
session:"main",
@@ -1184,6 +1199,7 @@ Periodic heartbeat runs.
1184
1199
```
1185
1200
1186
1201
-`every`: duration string (ms/s/m/h). Default: `30m` (API-key auth) or `1h` (OAuth auth). Set to `0m` to disable.
1202
+
-`includeSystemPromptSection`: when false, omits the Heartbeat section from the system prompt and skips `HEARTBEAT.md` injection into bootstrap context. Default: `true`.
1187
1203
-`suppressToolErrorWarnings`: when true, suppresses tool error warning payloads during heartbeat runs.
|`api.registerContextEngine(id, factory)`| Context engine (one active at a time). The `assemble()` callback receives `availableTools` and `citationsMode` so the engine can tailor prompt additions.|
Copy file name to clipboardExpand all lines: docs/providers/google.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,9 @@ Gemini CLI JSON usage notes:
98
98
| Video understanding | Yes |
99
99
| Web search (Grounding) | Yes |
100
100
| Thinking/reasoning | Yes (Gemini 3.1+) |
101
+
| Gemma 4 models | Yes |
102
+
103
+
Gemma 4 models (for example `gemma-4-26b-a4b-it`) support thinking mode. OpenClaw rewrites `thinkingBudget` to a supported Google `thinkingLevel` for Gemma 4. Setting thinking to `off` preserves thinking disabled instead of mapping to `MINIMAL`.
Copy file name to clipboardExpand all lines: docs/providers/ollama.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,8 @@ openclaw models set ollama/gemma4
119
119
When you set `OLLAMA_API_KEY` (or an auth profile) and **do not** define `models.providers.ollama`, OpenClaw discovers models from the local Ollama instance at `http://127.0.0.1:11434`:
120
120
121
121
- Queries `/api/tags`
122
-
- Uses best-effort `/api/show` lookups to read `contextWindow` when available
122
+
- Uses best-effort `/api/show` lookups to read `contextWindow` and detect capabilities (including vision) when available
123
+
- Models with a `vision` capability reported by `/api/show` are marked as image-capable (`input: ["text", "image"]`), so OpenClaw auto-injects images into the prompt for those models
123
124
- Marks `reasoning` with a model-name heuristic (`r1`, `reasoning`, `think`)
124
125
- Sets `maxTokens` to the default Ollama max-token cap used by OpenClaw
0 commit comments