Configuration配置说明
Start with ClawPanel, then choose the runtime you want to manage.先理解 ClawPanel 产品路径,再进入安装、配置、渠道和故障恢复。
运行时与模型配置
ClawPanel 的配置项会随运行时版本变化。模型、渠道、网关等能力请以你当前安装的 OpenClaw / Hermes 版本为准;官网文档只提供通用配置口径和排障方向。
常见 OpenAI 兼容配置示例
下表只列出常见填写方式,不能替代对应供应商和当前运行时版本的实际兼容性验证。保存前请确认账号权限、模型名称和 Base URL,并在控制台状态或日志中检查结果。
| 提供商 | API Base URL | 说明 |
|---|---|---|
| OpenAI | https://api.openai.com | 按你的账号权限和模型列表填写 |
| DeepSeek | https://api.deepseek.com | 按 DeepSeek 当前模型列表填写,保存后验证连通性 |
| Kimi | https://api.moonshot.cn | 按 Moonshot 当前模型列表填写,保存后验证连通性 |
| 自定义 | OpenAI 兼容 API Base URL | 需确认接口、鉴权、流式输出和模型名与当前运行时兼容 |
配置步骤
- 打开 ClawPanel,确认运行时处于可连接状态
- 进入对应配置页面
- 填入 API Key、Base URL、模型名称
- 保存后按页面状态检查连接是否正常
Gateway 配置
Gateway 是 OpenClaw 的服务入口之一。实际命令和参数可能随 OpenClaw 版本调整,请优先参考当前运行时内置说明或官方仓库文档。
- 模式:local(推荐)— 本地运行
- 绑定:loopback(仅本机)或 lan(局域网)
- 认证:token 模式,自动生成安全令牌
环境变量
# 指定 OpenClaw 安装位置(可选)
export OPENCLAW_HOME=~/.openclaw
# 指定 Node.js 路径(可选)
export NODE_PATH=/usr/local/bin/node
Runtime and model configuration
ClawPanel configuration changes with the installed runtime version. Model providers, channels and Gateway options should be checked against the OpenClaw or Hermes version you are running.
Common OpenAI-compatible examples
The table shows common field formats only. Real compatibility depends on your provider account, model name and installed runtime version. Save the configuration, then verify status or logs.
| Provider | API Base URL | Notes |
|---|---|---|
| OpenAI | https://api.openai.com | Use the models available to your account |
| DeepSeek | https://api.deepseek.com | Use the current DeepSeek model name available to your account |
| Kimi | https://api.moonshot.cn | Use the current Moonshot model name available to your account |
| Custom | OpenAI-compatible API base URL | Confirm API shape, auth, streaming and model names before relying on it |
Setup flow
- Open ClawPanel and confirm the runtime is reachable
- Open the relevant configuration page
- Enter the API key, base URL and model name
- Save and check the status or logs
Gateway
Gateway is one of the OpenClaw service entry points. Commands and flags may change between runtime versions, so prefer runtime help output and official repository docs.