mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Comprehensive rename of all openclaw references to hanzo-bot equivalents: - Package: openclaw → @hanzo/bot - Binary: openclaw → hanzo-bot - Types: OpenClaw* → Bot* - Env vars: OPENCLAW_* → BOT_* - Android: ai.openclaw.android → ai.hanzo.bot.android - iOS/macOS: ai.openclaw.* → ai.hanzo.* - Swift modules: OpenClaw* → Bot* - Plugins: openclaw.plugin.json → bot.plugin.json - Paths: .openclaw/ → .hanzo/bot/ - URLs: github.com/openclaw → github.com/hanzoai
1.1 KiB
1.1 KiB
title, summary, read_when
| title | summary | read_when | ||
|---|---|---|---|---|
| Vercel AI Gateway | Vercel AI Gateway setup (auth + model selection) |
|
Vercel AI Gateway
The Vercel AI Gateway provides a unified API to access hundreds of models through a single endpoint.
- Provider:
vercel-ai-gateway - Auth:
AI_GATEWAY_API_KEY - API: Anthropic Messages compatible
Quick start
- Set the API key (recommended: store it for the Gateway):
hanzo-bot onboard --auth-choice ai-gateway-api-key
- Set a default model:
{
agents: {
defaults: {
model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.6" },
},
},
}
Non-interactive example
hanzo-bot onboard --non-interactive \
--mode local \
--auth-choice ai-gateway-api-key \
--ai-gateway-api-key "$AI_GATEWAY_API_KEY"
Environment note
If the Gateway runs as a daemon (launchd/systemd), make sure AI_GATEWAY_API_KEY
is available to that process (for example, in ~/.hanzo/bot/.env or via
env.shellEnv).