fix: tighten Vercel AI Gateway onboarding docs/tests (#1016) (thanks @timolins)

This commit is contained in:
Peter Steinberger
2026-01-16 21:06:21 +00:00
parent beb9eac5f7
commit f3a37664d5
4 changed files with 169 additions and 4 deletions

View File

@@ -88,9 +88,9 @@ Tip: `--json` does **not** imply non-interactive mode. Use `--non-interactive` (
- **OpenAI API key**: uses `OPENAI_API_KEY` if present or prompts for a key, then saves it to `~/.clawdbot/.env` so launchd can read it.
- **OpenCode Zen (multi-model proxy)**: prompts for `OPENCODE_API_KEY` (or `OPENCODE_ZEN_API_KEY`, get it at https://opencode.ai/auth).
- **API key**: stores the key for you.
- **Vercel AI Gateway (multi-model proxy)**: prompts for `ai_gateway_api_key`.
- more detail: [vercel ai gateway](/providers/vercel-ai-gateway)
- **minimax m2.1**: config is auto-written.
- **Vercel AI Gateway (multi-model proxy)**: prompts for `AI_GATEWAY_API_KEY`.
- More detail: [Vercel AI Gateway](/providers/vercel-ai-gateway)
- **MiniMax M2.1**: config is auto-written.
- More detail: [MiniMax](/providers/minimax)
- **Synthetic (Anthropic-compatible)**: prompts for `SYNTHETIC_API_KEY`.
- More detail: [Synthetic](/providers/synthetic)
@@ -211,6 +211,7 @@ clawdbot onboard --non-interactive \
--zai-api-key "$ZAI_API_KEY" \
--gateway-port 18789 \
--gateway-bind loopback
```
Vercel AI Gateway example:
@@ -222,7 +223,6 @@ clawdbot onboard --non-interactive \
--gateway-port 18789 \
--gateway-bind loopback
```
```
Moonshot example: