Skip to main content

配置檔案位置

OpenClaw 使用 JSON 配置檔案,位於 ~/.openclaw/openclaw.json

基礎配置

建立或編輯配置檔案 ~/.openclaw/openclaw.json

配置欄位說明

多模型配置

可以配置多個模型,在聊天中用 /model <id> 切換:

完整配置示例

包含模型配置和 Telegram 渠道的完整示例:
配置檔案修改後,需要重啟 Gateway 服務才能生效: