测试 Openclaw 版本一致性
测试 Openclaw 的前端版本和 Gateway 版本是否一致。通常将 Openclaw 升级到最新版本。
npm update openclaw
npm list openclaw
示例输出:
2fen@ E:\\2fen
└── [email protected]
确保本地 LLM 服务正常运行
启动 Ollama 服务。服务地址:http://127.0.0.1:11434/v1。
测试本地 LLM 运行状态:
curl http://127.0.0.1:11434/v1/models
运行 Openclaw Gateway
在指定位置运行 Openclaw Gateway:
$env:OPENCLAW_STATE_DIR="e:\\指定路径\\.openclaw"
$env:OPENCLAW_CONFIG_PATH="e:\\指定路径\\.openclaw\\openclaw.json"
node ./node_modules/openclaw/dist/index.js gateway

