Skip to content

Commit 90fac50

Browse files
committed
docs(providers): fill undocumented capability gaps (TTS, media understanding, embeddings, xSearch, env vars)
1 parent 3f32aa7 commit 90fac50

7 files changed

Lines changed: 225 additions & 0 deletions

File tree

‎docs/providers/anthropic.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,21 @@ OpenClaw supports Anthropic's prompt caching feature for API-key auth.
227227

228228
</Accordion>
229229

230+
<Accordion title="Media understanding (image and PDF)">
231+
The bundled Anthropic plugin registers image and PDF understanding. OpenClaw
232+
auto-resolves media capabilities from the configured Anthropic auth — no
233+
additional config is needed.
234+
235+
| Property | Value |
236+
| -------------- | -------------------- |
237+
| Default model | `claude-opus-4-6` |
238+
| Supported input | Images, PDF documents |
239+
240+
When an image or PDF is attached to a conversation, OpenClaw automatically
241+
routes it through the Anthropic media understanding provider.
242+
243+
</Accordion>
244+
230245
<Accordion title="1M context window (beta)">
231246
Anthropic's 1M context window is beta-gated. Enable it per model:
232247

‎docs/providers/github-copilot.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,23 @@ openclaw models auth login --provider github-copilot --method device --set-defau
9090
selects the correct transport based on the model ref.
9191
</Accordion>
9292

93+
<Accordion title="Environment variable resolution order">
94+
OpenClaw resolves Copilot auth from environment variables in the following
95+
priority order:
96+
97+
| Priority | Variable | Notes |
98+
| -------- | --------------------- | -------------------------------- |
99+
| 1 | `COPILOT_GITHUB_TOKEN` | Highest priority, Copilot-specific |
100+
| 2 | `GH_TOKEN` | GitHub CLI token (fallback) |
101+
| 3 | `GITHUB_TOKEN` | Standard GitHub token (lowest) |
102+
103+
When multiple variables are set, OpenClaw uses the highest-priority one.
104+
The device-login flow (`openclaw models auth login-github-copilot`) stores
105+
its token in the auth profile store and takes precedence over all environment
106+
variables.
107+
108+
</Accordion>
109+
93110
<Accordion title="Token storage">
94111
The login stores a GitHub token in the auth profile store and exchanges it
95112
for a Copilot API token when OpenClaw runs. You do not need to manage the

‎docs/providers/ollama.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,30 @@ For the full setup and behavior details, see [Ollama Web Search](/tools/ollama-s
381381
Ollama is free and runs locally, so all model costs are set to $0. This applies to both auto-discovered and manually defined models.
382382
</Accordion>
383383

384+
<Accordion title="Memory embeddings">
385+
The bundled Ollama plugin registers a memory embedding provider for
386+
[memory search](/concepts/memory). It uses the configured Ollama base URL
387+
and API key.
388+
389+
| Property | Value |
390+
| ------------- | ------------------- |
391+
| Default model | `nomic-embed-text` |
392+
| Auto-pull | Yes — the embedding model is pulled automatically if not present locally |
393+
394+
To select Ollama as the memory search embedding provider:
395+
396+
```json5
397+
{
398+
agents: {
399+
defaults: {
400+
memorySearch: { provider: "ollama" },
401+
},
402+
},
403+
}
404+
```
405+
406+
</Accordion>
407+
384408
<Accordion title="Streaming configuration">
385409
OpenClaw's Ollama integration uses the **native Ollama API** (`/api/chat`) by default, which fully supports streaming and tool calling simultaneously. No special configuration is needed.
386410

‎docs/providers/openai.md‎

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,77 @@ OpenClaw adds a small OpenAI-specific prompt overlay for `openai/*` and `openai-
237237
Values are case-insensitive at runtime, so `"Off"` and `"off"` both disable the overlay.
238238
</Tip>
239239

240+
## Voice and speech
241+
242+
<AccordionGroup>
243+
<Accordion title="Speech synthesis (TTS)">
244+
The bundled `openai` plugin registers speech synthesis for the `messages.tts` surface.
245+
246+
| Setting | Config path | Default |
247+
|---------|------------|---------|
248+
| Model | `messages.tts.providers.openai.model` | `gpt-4o-mini-tts` |
249+
| Voice | `messages.tts.providers.openai.voice` | `coral` |
250+
| Speed | `messages.tts.providers.openai.speed` | (unset) |
251+
| Instructions | `messages.tts.providers.openai.instructions` | (unset, `gpt-4o-mini-tts` only) |
252+
| Format | `messages.tts.providers.openai.responseFormat` | `opus` for voice notes, `mp3` for files |
253+
| API key | `messages.tts.providers.openai.apiKey` | Falls back to `OPENAI_API_KEY` |
254+
| Base URL | `messages.tts.providers.openai.baseUrl` | `https://api.openai.com/v1` |
255+
256+
Available models: `gpt-4o-mini-tts`, `tts-1`, `tts-1-hd`. Available voices: `alloy`, `ash`, `ballad`, `cedar`, `coral`, `echo`, `fable`, `juniper`, `marin`, `onyx`, `nova`, `sage`, `shimmer`, `verse`.
257+
258+
```json5
259+
{
260+
messages: {
261+
tts: {
262+
providers: {
263+
openai: { model: "gpt-4o-mini-tts", voice: "coral" },
264+
},
265+
},
266+
},
267+
}
268+
```
269+
270+
<Note>
271+
Set `OPENAI_TTS_BASE_URL` to override the TTS base URL without affecting the chat API endpoint.
272+
</Note>
273+
274+
</Accordion>
275+
276+
<Accordion title="Realtime transcription">
277+
The bundled `openai` plugin registers realtime transcription for the Voice Call plugin.
278+
279+
| Setting | Config path | Default |
280+
|---------|------------|---------|
281+
| Model | `plugins.entries.voice-call.config.streaming.providers.openai.model` | `gpt-4o-transcribe` |
282+
| Silence duration | `...openai.silenceDurationMs` | `800` |
283+
| VAD threshold | `...openai.vadThreshold` | `0.5` |
284+
| API key | `...openai.apiKey` | Falls back to `OPENAI_API_KEY` |
285+
286+
<Note>
287+
Uses a WebSocket connection to `wss://api.openai.com/v1/realtime` with G.711 u-law audio.
288+
</Note>
289+
290+
</Accordion>
291+
292+
<Accordion title="Realtime voice">
293+
The bundled `openai` plugin registers realtime voice for the Voice Call plugin.
294+
295+
| Setting | Config path | Default |
296+
|---------|------------|---------|
297+
| Model | `plugins.entries.voice-call.config.realtime.providers.openai.model` | `gpt-realtime` |
298+
| Voice | `...openai.voice` | `alloy` |
299+
| Temperature | `...openai.temperature` | `0.8` |
300+
| VAD threshold | `...openai.vadThreshold` | `0.5` |
301+
| Silence duration | `...openai.silenceDurationMs` | `500` |
302+
| API key | `...openai.apiKey` | Falls back to `OPENAI_API_KEY` |
303+
304+
<Note>
305+
Supports Azure OpenAI via `azureEndpoint` and `azureDeployment` config keys. Supports bidirectional tool calling. Uses G.711 u-law audio format.
306+
</Note>
307+
308+
</Accordion>
309+
</AccordionGroup>
310+
240311
## Advanced configuration
241312

242313
<AccordionGroup>

‎docs/providers/qwen.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,21 @@ See [Video Generation](/tools/video-generation) for shared tool parameters, prov
198198
## Advanced
199199

200200
<AccordionGroup>
201+
<Accordion title="Image and video understanding">
202+
The bundled Qwen plugin registers media understanding for images and video
203+
on the **Standard** DashScope endpoints (not the Coding Plan endpoints).
204+
205+
| Property | Value |
206+
| ------------- | --------------------- |
207+
| Model | `qwen-vl-max-latest` |
208+
| Supported input | Images, video |
209+
210+
Media understanding is auto-resolved from the configured Qwen auth — no
211+
additional config is needed. Ensure you are using a Standard (pay-as-you-go)
212+
endpoint for media understanding support.
213+
214+
</Accordion>
215+
201216
<Accordion title="Qwen 3.6 Plus availability">
202217
`qwen3.6-plus` is available on the Standard (pay-as-you-go) Model Studio
203218
endpoints:

‎docs/providers/xai.md‎

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,77 @@ Legacy aliases still normalize to the canonical bundled ids:
132132

133133
</Accordion>
134134

135+
<Accordion title="x_search configuration">
136+
The bundled xAI plugin exposes `x_search` as an OpenClaw tool for searching
137+
X (formerly Twitter) content via Grok.
138+
139+
Config path: `plugins.entries.xai.config.xSearch`
140+
141+
| Key | Type | Default | Description |
142+
| ------------------ | ------- | ------------------ | ------------------------------------ |
143+
| `enabled` | boolean | — | Enable or disable x_search |
144+
| `model` | string | `grok-4-1-fast` | Model used for x_search requests |
145+
| `inlineCitations` | boolean | — | Include inline citations in results |
146+
| `maxTurns` | number | — | Maximum conversation turns |
147+
| `timeoutSeconds` | number | — | Request timeout in seconds |
148+
| `cacheTtlMinutes` | number | — | Cache time-to-live in minutes |
149+
150+
```json5
151+
{
152+
plugins: {
153+
entries: {
154+
xai: {
155+
config: {
156+
xSearch: {
157+
enabled: true,
158+
model: "grok-4-1-fast",
159+
inlineCitations: true,
160+
},
161+
},
162+
},
163+
},
164+
},
165+
}
166+
```
167+
168+
</Accordion>
169+
170+
<Accordion title="Code execution configuration">
171+
The bundled xAI plugin exposes `code_execution` as an OpenClaw tool for
172+
remote code execution in xAI's sandbox environment.
173+
174+
Config path: `plugins.entries.xai.config.codeExecution`
175+
176+
| Key | Type | Default | Description |
177+
| ----------------- | ------- | ------------------ | ---------------------------------------- |
178+
| `enabled` | boolean | `true` (if key available) | Enable or disable code execution |
179+
| `model` | string | `grok-4-1-fast` | Model used for code execution requests |
180+
| `maxTurns` | number | — | Maximum conversation turns |
181+
| `timeoutSeconds` | number | — | Request timeout in seconds |
182+
183+
<Note>
184+
This is remote xAI sandbox execution, not local [`exec`](/tools/exec).
185+
</Note>
186+
187+
```json5
188+
{
189+
plugins: {
190+
entries: {
191+
xai: {
192+
config: {
193+
codeExecution: {
194+
enabled: true,
195+
model: "grok-4-1-fast",
196+
},
197+
},
198+
},
199+
},
200+
},
201+
}
202+
```
203+
204+
</Accordion>
205+
135206
<Accordion title="Known limits">
136207
- Auth is API-key only today. There is no xAI OAuth or device-code flow in
137208
OpenClaw yet.

‎docs/providers/zai.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,18 @@ GLM models are available as `zai/<model>` (example: `zai/glm-5`). The default bu
134134

135135
</Accordion>
136136

137+
<Accordion title="Image understanding">
138+
The bundled Z.AI plugin registers image understanding.
139+
140+
| Property | Value |
141+
| ------------- | ----------- |
142+
| Model | `glm-4.6v` |
143+
144+
Image understanding is auto-resolved from the configured Z.AI auth — no
145+
additional config is needed.
146+
147+
</Accordion>
148+
137149
<Accordion title="Auth details">
138150
- Z.AI uses Bearer auth with your API key.
139151
- The `zai-api-key` onboarding choice auto-detects the matching Z.AI endpoint from the key prefix.

0 commit comments

Comments
 (0)