跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://labs.prompthon.io/llms.txt

Use this file to discover all available pages before exploring further.

<GATEWAY_HOST><DASHBOARD_URL> 这类 placeholder 替换成你的实际值。

启动和停止 Gateway

# 启动。推荐在 tmux session 中运行。
openclaw gateway start

# 使用 config 文件启动。
openclaw gateway start --config ./config/gateway.yaml

# 停止。
openclaw gateway stop

# 重启。
openclaw gateway restart

# 检查状态。
openclaw gateway status

# 跟随日志,如果支持。
openclaw gateway logs --follow

Dashboard

# 启动 dashboard。
openclaw dashboard

# 停止 dashboard。
openclaw dashboard stop

# 在浏览器中打开 dashboard,如果支持。
openclaw dashboard open

# 输出 dashboard URL 或状态。
openclaw dashboard status

Health Checks

# Ping gateway。
openclaw gateway ping

# 检查系统健康状态。
openclaw health

Configuration

# 显示当前 config。
openclaw config show

# 验证 config 文件。
openclaw config validate --config ./config/gateway.yaml

Updates And Version

# 检查版本。
openclaw --version

# 自更新,如果支持。
openclaw update

Troubleshooting

# 显示环境诊断。
openclaw doctor

# 提高日志级别。
openclaw gateway start --log-level debug

# 显示运行中的进程,如果支持。
openclaw ps

# 跟随日志。
openclaw logs --follow

Model Configuration

# 切换到 Codex-backed model profile。
openclaw models set openai-codex/gpt-5.3-codex

# 在 config 中设置 primary default model。
openclaw config set agents.defaults.model.primary openai/gpt-5.5