Compare commits
1 Commits
f59c693186
...
25473384d8
| Author | SHA1 | Date | |
|---|---|---|---|
| 25473384d8 |
14
README.md
14
README.md
@@ -25,9 +25,23 @@ the identity file.
|
|||||||
## Config
|
## Config
|
||||||
|
|
||||||
- `channels.fabric.centerApiBase` — e.g. `http://localhost:7001/api`
|
- `channels.fabric.centerApiBase` — e.g. `http://localhost:7001/api`
|
||||||
|
- `channels.fabric.accounts.<agentId>` = `{ fabricApiKey, enabled }`
|
||||||
|
(agent = account; the account id is the openclaw agentId)
|
||||||
- plugin `identityFilePath` — default `~/.openclaw/fabric-identity.json`
|
- plugin `identityFilePath` — default `~/.openclaw/fabric-identity.json`
|
||||||
(`{ entries: [{ agentId, fabricApiKey }] }`)
|
(`{ entries: [{ agentId, fabricApiKey }] }`)
|
||||||
|
|
||||||
|
### Required: route binding (account → agent)
|
||||||
|
|
||||||
|
openclaw routes a channel turn to an agent via `cfg.bindings`. Without a
|
||||||
|
Fabric binding it falls back to the default agent. Add one per account:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{ "agentId": "<agent>", "match": { "channel": "fabric", "accountId": "<account>" } }
|
||||||
|
```
|
||||||
|
|
||||||
|
e.g. `openclaw config set bindings '[…, {"agentId":"echo","match":{"channel":"fabric","accountId":"echo"}}]' --json`,
|
||||||
|
then `openclaw gateway restart`.
|
||||||
|
|
||||||
## Tools
|
## Tools
|
||||||
|
|
||||||
- `fabric-register` — bind this agent's Fabric API key
|
- `fabric-register` — bind this agent's Fabric API key
|
||||||
|
|||||||
Reference in New Issue
Block a user