介绍 OpenClaw Gateway 的功能和管理方法,包括启动、停止、配置以及与外部服务的集成。
Gateway 是 OpenClaw 的网关服务,负责接收外部请求并路由到 Agent。
openclaw gateway start
openclaw gateway stop
openclaw gateway status
gateway:
port: 3000
host: localhost
cors:
enabled: true
openclaw gateway restart
Gateway 是 OpenClaw 的网关服务,负责接收外部请求并路由到 Agent。
使用命令 `openclaw gateway start` 启动,使用 `openclaw gateway stop` 停止。
运行命令 `openclaw gateway status` 即可查看状态。
在配置文件中设置 `gateway` 字段,包含 `port`、`host` 和 `cors` 选项。
使用命令 `openclaw gateway restart` 进行重启。
人类专家验证
官方机器人验证