This commit is contained in:
OpenClaw-User 2026-03-14 17:06:37 +08:00
commit f5c948e94b

View file

@ -1043,6 +1043,8 @@ This design also enables **multi-agent support** with flexible provider selectio
| **ModelScope (魔搭)**| `modelscope/` | `https://api-inference.modelscope.cn/v1` | OpenAI | [Get Token](https://modelscope.cn/my/tokens) |
| **Antigravity** | `antigravity/` | Google Cloud | Custom | OAuth only |
| **GitHub Copilot** | `github-copilot/` | `localhost:4321` | gRPC | - |
| **Claude CLI** | `claude-cli/` | Local (`claude` binary in PATH) | CLI | Uses existing `claude` CLI session |
| **Codex CLI** | `codex-cli/` | Local (`codex` binary in PATH) | CLI | Uses existing `codex` CLI session |
#### Basic Configuration
@ -1161,6 +1163,30 @@ For direct Anthropic API access or custom endpoints that only support Anthropic'
}
```
**Claude CLI (subscription-based, no API key required)**
Uses the locally installed `claude` CLI binary, authenticating with your existing Claude subscription (Pro, Teams, or Enterprise). No API key is needed.
```json
{
"model_name": "claude-code",
"model": "claude-cli/claude-code"
}
```
> The model ID `claude-code` is a special sentinel that tells PicoClaw **not** to pass a `--model` flag, letting the CLI use whichever model it is currently configured with. Using any other model ID (e.g. `claude-cli/claude-sonnet-4-5`) will pass `--model <id>` to the CLI.
**Codex CLI (subscription-based, no API key required)**
Uses the locally installed `codex` CLI binary with your existing OpenAI subscription.
```json
{
"model_name": "codex",
"model": "codex-cli/codex"
}
```
**Custom Proxy/API**
```json