OpenClaw(安装与接入Constreet)
OpenClaw 更像一个“可自托管的 Agent 网关”。你可以在本机跑一个后台服务,然后通过 TUI/Web 面板来使用和管理它。
你需要准备
- Node.js 22+:先看 Nodejs
- 一个「Constreet」的 API Key
- 已创建好对应的令牌分组
重要:GPT 和 Claude 的配置写法不同
OpenClaw 接入 API 时,GPT 和 Claude 的写法不是同一套。
GPT / OpenAI Responses
{ "api": "openai-responses"}
baseUrl 要指向:
https://api.constreet.cc/v1
Claude / Anthropic
Claude 常用写法是:
{ "api": "anthropic-messages"}
baseUrl 通常直接写:
https://api.constreet.cc