ClawdBot 接入 HodlAI 免费 API 配置指南

6 小时 16 分钟前
 88AI

📌 本文适用于已安装 ClawdBot 用户,介绍如何修改配置以接入 HodlAI 接口。详细安装教程请自行搜索,或借助 AI 指导,后续我们也将推出完整版教程。


配置步骤

1️⃣ 编辑配置文件

使用任意编辑器打开 clawdbot.json

nano ~/.clawdbot/clawdbot.json

2️⃣ 替换配置内容

modelsagents 部分替换为以下内容:

⚠️ 如需更换模型,请同步修改所有 gpt-5.2 相关字段(idnameprimarymodels

"models": {
  "mode": "merge",
  "providers": {
    "llm": {
      "baseUrl": "https://api.hodlai.fun/v1",
      "apiKey": "你的 API Key",
      "api": "openai-completions",
      "models": [
        {
          "id": "gpt-5.2",
          "name": "GPT-5.2",
          "reasoning": true
        }
      ]
    }
  }
},

"agents": {
  "defaults": {
    "model": {
      "primary": "llm/gpt-5.2"
    },
    "models": {
      "gpt-5.2": {}
    },
    "workspace": "/root/clawd",
    "compaction": {
      "mode": "safeguard"
    },
    "maxConcurrent": 4,
    "subagents": {
      "maxConcurrent": 8
    }
  }
}

3️⃣ 校验并重启服务

clawdbot doctor --fix
clawdbot gateway restart

关于 HodlAI

持有 $HODLAI 代币,即可免费使用 200+ AI 模型

📋 完整模型列表https://api.hodlai.fun/pricing


相关链接

平台 链接
🌐 官网 https://hodlai.fun/
🐦 Twitter https://x.com/hodlai_bsc
💬 Telegram https://t.me/hodlai_fun
322 次点击
所在节点    HodlAI
7 条回复
nancyc0813
5 小时 16 分钟前
试试看
Ne
3 小时 20 分钟前
已经按你说的。
o3-deep-research 测试 404 此模型仅在 v1/responses 中受支持,在 v1/chat/completions 中不受支持 。显示这样
Ne
3 小时 19 分钟前
@88AI 这是没有接入成功还是设置
linbenyi
3 小时 15 分钟前
和 OpenClaw  交换一个友链吧.刚刚买了14.5 W 个代币.
88AI
3 小时 10 分钟前
@Ne 这个模型不受支持 v1/chat/completions 接口,换一个
Ne
3 小时 7 分钟前
@88AI 请问怎样写,请给详细的配置
88AI
3 小时 2 分钟前
@Ne 换个模型就好,你先换常见的模型 比如就 gpt-5.2

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1189622

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX