install.sh文件中的同步API Key 到所有 Agent这里,(OpenClaw 主密钥存储)文件名和最新版3.13版本openclaw文件名不一致导致导入失败,现文件名models.json文件路径.openclaw/agents/main/agent
── Step 3.5b: 同步 API Key 到所有 Agent ──────────────────────────
sync_auth() {
info "同步 API Key 到所有 Agent..."
找到 main agent 的 auth-profiles.json(OpenClaw 主密钥存储)
MAIN_AUTH="$OC_HOME/agents/main/agent/auth-profiles.json"
直接修改参数为 MAIN_AUTH="$OC_HOME/agents/main/agent/models.json"导入成功