Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
OpenClaw / Clawdbot / Moltbot 配置指南
安装 OpenClaw
curl -fsSL https://openclaw.ai/install.sh | bash
iwr -useb https://openclaw.ai/install.ps1 | iex
修改配置
该步骤后有完整的截图示例,注意查看核对!
.openclaw/openclaw.json
"HodlAI": { "baseUrl": "https://api.hodlai.fun/v1", "apiKey": "这里换成自己的 API Key", "api": "openai-completions", "models": [ { "id": "gemini-3-pro-preview", "name": "Gemini 3 Pro (preview)", "reasoning": false, "input": [ "text", "image" ], "cost": { "input": 0.5, "output": 1.5, "cacheRead": 0, "cacheWrite": 0 }, "contextWindow": 1048576, "maxTokens": 8192 } ] }
"model": { "primary": "HodlAI/gemini-3-pro-preview" }, "models": { "HodlAI/gemini-3-pro-preview": { "alias": "gemini" } }
检查配置并重启 gateway
# 检查(一定要执行,防止文件修改错了) openclaw doctor --fix # 重启 openclaw gateway restart