Skip to content

Commit 1458f04

Browse files
committed
docs: fix model config instructions
The old 'openclaw config set model' command doesn't exist. Updated to show correct methods: - Edit ~/.openclaw/openclaw.json with agents.defaults.model.primary - Or use /model command in conversation
1 parent 517fcd9 commit 1458f04

1 file changed

Lines changed: 19 additions & 4 deletions

File tree

README.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,30 @@ openclaw plugins install @blockrun/clawrouter
4949
# 2. Fund your wallet with USDC on Base (address printed on install)
5050
$5 is enough for thousands of requests
5151

52-
# 3. Enable smart routing
53-
openclaw models set blockrun/auto
52+
# 3. Restart OpenClaw to load the plugin
53+
openclaw restart
5454
```
5555

56-
Every request now routes to the cheapest capable model.
56+
Every request now routes through BlockRun with x402 micropayments.
57+
58+
**To enable smart routing**, add to `~/.openclaw/openclaw.json`:
59+
```json
60+
{
61+
"agents": {
62+
"defaults": {
63+
"model": {
64+
"primary": "blockrun/auto"
65+
}
66+
}
67+
}
68+
}
69+
```
70+
71+
Or use `/model blockrun/auto` in any conversation to switch on the fly.
5772

5873
Already have a funded wallet? `export BLOCKRUN_WALLET_KEY=0x...`
5974

60-
Want a specific model? `openclaw models set openai/gpt-4o` — still get x402 payments and usage logging.
75+
Want a specific model? Use `blockrun/openai/gpt-4o` or `blockrun/anthropic/claude-sonnet-4` — still get x402 payments and usage logging.
6176

6277
---
6378

0 commit comments

Comments
 (0)