kaielopenclaw配置三方中转 中发帖

前提条件,测试中转站的模型是否可用:
curl https://xxxx/v1/chat/completions -H “Content-Type: application/json” -H “Authorization: Bearer sk-*****” -d ‘{“model”:“claude-sonnet-4-5”,“messages”:[{“role”:“user”,“content”:“hello”}]}’
设置模型:openclaw configure --section model
[image]
[image]
[image]
[image]
[image]
[image]
重启gateway
launchctl kickstart -k gui/$(id -u)/ai.openclaw.gateway

测试
openclaw agent --local ...