Skip to content

OpenClaw 配置 ​

OpenClaw 是支持自动化任务和本地操作的开源个人 AI 助手平台。本文说明安装 OpenClaw 后如何将 OPENNAVE API 接入其模型配置。

官方资源 ​

OpenClaw 官方网站OpenClaw GitHub 仓库

安装 OpenClaw ​

macOS 或 Linux(需要 macOS 10.15+ 或主流 Linux 发行版):

sh
curl -fsSL https://openclaw.ai/install.sh | bash

Windows 10/11(PowerShell 5.1+):

powershell
iwr -useb https://openclaw.ai/install.ps1 | iex

配置 OPENNAVE API ​

打开配置文件:

  • macOS/Linux:~/.openclaw/openclaw.json
  • Windows:C:\Users\你的用户名\.openclaw\openclaw.json

将其中 models 内容替换为以下配置,并把 YOUR_API_KEY 改为自己的密钥:

json
{
  "models": {
    "providers": {
      "aicodemirror-gpt": {
        "baseUrl": "https://api.opennave.top/v1",
        "apiKey": "YOUR_API_KEY",
        "api": "openai-responses",
        "models": [
          {
            "id": "gpt-5.5",
            "name": "gpt-5.5",
            "reasoning": true,
            "input": ["text", "image"]
          }
        ]
      }
    }
  }
}

保存后重启 OpenClaw 并发送测试请求。模型名称应以控制台当前支持列表为准。