The auto mode classifier is temporarily unavailable — Claude Code
Quick fix
先关闭 CC Switch 的 Anthropic Base URL 代理并重启 Claude Code;issue 中有用户称更新 CLIProxyAPI 后问题得到解决。
Symptom
Section titled “Symptom”The auto mode classifier is temporarily unavailable, so Bash cannot be used right now. (dacEnabled=n/a, hasExtraBody=false)issue 报告称,使用 CC Switch 的 Anthropic Base URL 代理(例如 `http://127.0.0.1:15721`)时,Claude Code Auto Mode 分类器不可用,Bash/WebFetch 因而被阻止。作者表示关闭该代理并重启 Claude Code 会话后分类器立即恢复。另一位评论者称问题是 CLIProxyAPI 未更新到最新版、未转发 Claude Code 请求所致;但该 issue 仍为开放状态,另有评论者未能在正常代理流程中复现,因此原因尚未得到一致确认。
在 CC Switch 中关闭 Anthropic Base URL 代理,然后重启 Claude Code 会话,检查 Auto Mode 分类器是否恢复。
若仍遇到问题,检查 CLIProxyAPI 是否已更新到最新版;有评论者报告更新后解决了请求未转发的问题。
Affected Versions
Section titled “Affected Versions”ToolClaude Code
VersionClaude Code v2.1.74;CC Switch v3.12.3(issue 报告环境)
PlatformsmacOS
Source Issues
Section titled “Source Issues”本页汇总自 1 个真实 issue
- 这个问题修复了吗?
- issue 中有用户称更新 CLIProxyAPI 到最新版后解决了请求未转发的问题;维护者也曾建议更新到最新版本试用,但 issue 仍开放,尚无一致结论。
- 关闭 Anthropic Base URL 代理后该怎么做?
- issue 作者称关闭代理并重启 Claude Code 会话后,分类器立即恢复。
这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。