我的api key过期了想换一个Deepseek的key但是换完之后一直提示反复查看了我的新key市肯定可以的直到后来没办法了挨个查看本地目录判断是不是有缓存结果真找到了在agent的目录下有一个auth-profiles.json的文件里面存着Deepseek的缓存特地写了个脚本来清空缓存:#!/bin/bash# openclaw-clean-cache.sh - 清理 OpenClaw 顽固缓存/认证文件让新配置生效# 用法: chmod x openclaw-clean-cache.sh ./openclaw-clean-cache.shset-eecho 正在停止 OpenClaw 网关...openclaw gateway stopecho️ 开始清理顽固缓存/认证文件...# 1. 清理认证/凭证相关旧 Key 藏在这里rm-rf~/.openclaw/credentials/*rm-rf~/.openclaw/identity/*rm-rf~/.openclaw/auth-profiles*2/dev/nullrm-rf~/.openclaw/profiles/*2/dev/null# 2. 清理 Agent 级别的旧配置main agent 的认证状态rm-rf~/.openclaw/agents/main/agent2/dev/null# 3. 清理核心缓存目录rm-rf~/.openclaw/cache/*rm-rf~/.openclaw/tmp/*rm-rf~/.openclaw/run/*rm-rf~/.openclaw/logs/*# 4. 清理会话/执行状态缓存rm-rf~/.openclaw/completions/*rm-rf~/.openclaw/delivery-queue/*rm-rf~/.openclaw/devices/*rm-rf~/.openclaw/memory/*rm-rf~/.openclaw/subagents/*rm-f~/.openclaw/exec-approvals.jsonrm-f~/.openclaw/viewer-auth.jsonecho✅ 缓存清理完成正在重启网关...openclaw gateway restartecho 正在验证新配置加载情况...sleep3openclaw gateway logs--tail20|grep-EapiKey|deepseek|openai|initializedecho-e\n 清理完成如果配置仍不生效可执行openclaw configure 重新初始化具体版本的目录具体分析问豆包