- 提供商:
vercel-ai-gateway - 认证:
AI_GATEWAY_API_KEY - API:兼容 Anthropic Messages
快速开始
- 设置 API 密钥(推荐:为 Gateway 网关存储它):
- 设置默认模型:
非交互式示例
环境变量说明
如果 Gateway 网关作为守护进程运行(launchd/systemd),请确保AI_GATEWAY_API_KEY
对该进程可用(例如,在 ~/.openclaw/.env 中或通过
env.shellEnv)。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Claude Code
Vercel AI Gateway 文档
vercel-ai-gatewayAI_GATEWAY_API_KEYopenclaw onboard --auth-choice ai-gateway-api-key
{
agents: {
defaults: {
model: { primary: "vercel-ai-gateway/anthropic/claude-opus-4.5" },
},
},
}
openclaw onboard --non-interactive \
--mode local \
--auth-choice ai-gateway-api-key \
--ai-gateway-api-key "$AI_GATEWAY_API_KEY"
AI_GATEWAY_API_KEY
对该进程可用(例如,在 ~/.openclaw/.env 中或通过
env.shellEnv)。Was this page helpful?