docs: fix faq config snippets

This commit is contained in:
Peter Steinberger
2026-01-12 02:41:21 +00:00
parent 76c8fc8697
commit 2164d1062e

View File

@@ -236,8 +236,10 @@ Example (repo as default cwd):
```json5
{
agent: {
workspace: "~/Projects/my-repo"
agents: {
defaults: {
workspace: "~/Projects/my-repo"
}
}
}
```
@@ -303,6 +305,23 @@ The common pattern is **one Gateway** (e.g. Raspberry Pi) plus **nodes** and **a
Docs: [Nodes](/nodes), [Remote access](/gateway/remote), [Multi-Agent Routing](/concepts/multi-agent), [Sub-agents](/tools/subagents), [TUI](/tui).
### Can the Clawdbot browser run headless?
Yes. Its a config option:
```json5
{
browser: { headless: true },
agents: {
defaults: {
sandbox: { browser: { headless: true } }
}
}
}
```
Default is `false` (headful). Headless is more likely to trigger antibot checks on some sites. See [Browser](/tools/browser).
## Remote gateways + nodes
### How do commands propagate between Telegram, the gateway, and nodes?
@@ -329,7 +348,7 @@ Yes. `config.apply` validates + writes the full config and restarts the Gateway
```json5
{
agent: { workspace: "~/clawd" },
agents: { defaults: { workspace: "~/clawd" } },
whatsapp: { allowFrom: ["+15555550123"] }
}
```
@@ -508,12 +527,14 @@ Aliases come from `agents.defaults.models.<modelId>.alias`. Example:
```json5
{
agent: {
model: { primary: "anthropic/claude-opus-4-5" },
models: {
"anthropic/claude-opus-4-5": { alias: "opus" },
"anthropic/claude-sonnet-4-5": { alias: "sonnet" },
"anthropic/claude-haiku-4-5": { alias: "haiku" }
agents: {
defaults: {
model: { primary: "anthropic/claude-opus-4-5" },
models: {
"anthropic/claude-opus-4-5": { alias: "opus" },
"anthropic/claude-sonnet-4-5": { alias: "sonnet" },
"anthropic/claude-haiku-4-5": { alias: "haiku" }
}
}
}
}
@@ -527,9 +548,11 @@ OpenRouter (paypertoken; many models):
```json5
{
agent: {
model: { primary: "openrouter/anthropic/claude-sonnet-4-5" },
models: { "openrouter/anthropic/claude-sonnet-4-5": {} }
agents: {
defaults: {
model: { primary: "openrouter/anthropic/claude-sonnet-4-5" },
models: { "openrouter/anthropic/claude-sonnet-4-5": {} }
}
},
env: { OPENROUTER_API_KEY: "sk-or-..." }
}
@@ -539,9 +562,11 @@ Z.AI (GLM models):
```json5
{
agent: {
model: { primary: "zai/glm-4.7" },
models: { "zai/glm-4.7": {} }
agents: {
defaults: {
model: { primary: "zai/glm-4.7" },
models: { "zai/glm-4.7": {} }
}
},
env: { ZAI_API_KEY: "..." }
}