openclaw configure
互動式提示,用於設定憑證、裝置和 Agent 預設值。
注意:Model 區段現在包含多選功能,用於設定 agents.defaults.models 允許清單(即 /model 和模型選擇器中顯示的內容)。
提示:不帶子指令的 openclaw config 會開啟相同的精靈。使用 openclaw config get|set|unset 進行非互動式編輯。
相關資訊:
- Gateway 配置參考:Configuration
- Config CLI:Config
- 選擇 Gateway 運行位置時,一律會更新
gateway.mode。若這是您唯一需要的設定,您可以選擇「Continue」而不修改其他區段。 - 頻道導向的服務(Slack/Discord/Matrix/Microsoft Teams)在設定期間會提示輸入頻道/房間允許清單。您可以輸入名稱或 ID;精靈會在可能時將名稱解析為 ID。
- 若您執行 daemon 安裝步驟,token 認證需要 token,而
gateway.auth.token是 SecretRef 管理的,configure 會驗證 SecretRef 但不會將解析後的明文 token 值儲存至監督服務的環境中繼資料。 - 若 token 認證需要 token 且配置的 token SecretRef 未解析,configure 會阻止 daemon 安裝並提供可操作的修復指引。
- 若
gateway.auth.token和gateway.auth.password均已配置,且gateway.auth.mode未設定,configure 會阻止 daemon 安裝,直到明確設定 mode 為止。