mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-21 13:44:03 +00:00
docs: fix P2s in configuration-reference -- built-in model catalog, PI_CODING_AGENT_DIR legacy note, deduplicate Identity section
This commit is contained in:
@@ -2092,7 +2092,7 @@ Notes:
|
||||
|
||||
## Custom providers and base URLs
|
||||
|
||||
OpenClaw uses the pi-coding-agent model catalog. Add custom providers via `models.providers` in config or `~/.openclaw/agents/<agentId>/agent/models.json`.
|
||||
OpenClaw uses the built-in model catalog. Add custom providers via `models.providers` in config or `~/.openclaw/agents/<agentId>/agent/models.json`.
|
||||
|
||||
```json5
|
||||
{
|
||||
@@ -2121,7 +2121,7 @@ OpenClaw uses the pi-coding-agent model catalog. Add custom providers via `model
|
||||
```
|
||||
|
||||
- Use `authHeader: true` + `headers` for custom auth needs.
|
||||
- Override agent config root with `OPENCLAW_AGENT_DIR` (or `PI_CODING_AGENT_DIR`).
|
||||
- Override agent config root with `OPENCLAW_AGENT_DIR` (or `PI_CODING_AGENT_DIR`, a legacy environment variable alias).
|
||||
- Merge precedence for matching provider IDs:
|
||||
- Non-empty agent `models.json` `baseUrl` values win.
|
||||
- Non-empty agent `apiKey` values win only when that provider is not SecretRef-managed in current config/auth-profile context.
|
||||
@@ -2680,7 +2680,7 @@ See [Multiple Gateways](/gateway/multiple-gateways).
|
||||
{
|
||||
gateway: {
|
||||
reload: {
|
||||
mode: "hybrid", // off | restart | hot | hybrid
|
||||
mode: "hybrid", // off | restart | hot | hybrid
|
||||
debounceMs: 500,
|
||||
deferralTimeoutMs: 300000,
|
||||
},
|
||||
@@ -3183,29 +3183,7 @@ Metadata written by CLI guided setup flows (`onboard`, `configure`, `doctor`):
|
||||
|
||||
## Identity
|
||||
|
||||
```json5
|
||||
{
|
||||
agents: {
|
||||
list: [
|
||||
{
|
||||
id: "main",
|
||||
identity: {
|
||||
name: "Samantha",
|
||||
theme: "helpful sloth",
|
||||
emoji: "🦥",
|
||||
avatar: "avatars/samantha.png",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
Written by the macOS onboarding assistant. Derives defaults:
|
||||
|
||||
- `messages.ackReaction` from `identity.emoji` (falls back to 👀)
|
||||
- `mentionPatterns` from `identity.name`/`identity.emoji`
|
||||
- `avatar` accepts: workspace-relative path, `http(s)` URL, or `data:` URI
|
||||
See `agents.list` identity fields under [Agent defaults](#agent-defaults).
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user