claude code走中转站plan模式下分类器不可用

zedW 2026-06-09 12:05 1


Error: claude-opus-4-8[1m] is temporarily unavailable, so auto mode cannot determine the safety of Bash right now. Wait briefly and then try this action again. If it keeps failing, continue with other tasks that don’t require this action and come back to it later. Note: reading files, searching code, and other read-only operations do not require the classifier and can still be used.



中转站的claude模型没有提供classifier模型,不是auto mode,classifier在plan模式下用于判断命令是否是只读。在配置文件中加上


"permissions": {
"allow": \["Bash"\]
}

也没用,就算直接claude --dangerously-skip-permissions也不能解决plan阶段的classifier不能用的问题。

佬们有什么解决方法吗




编辑:

使用官方的下载的cc,在plan模式再次复现


使用哈雷佬的CometixSpace/claude-code,config没有把auto mode during plan关掉,plan模式不报错

(我也打了哈雷佬给的patch 2和patch 3,并配置了



“CLAUDE_CLASSIFIER_MODEL”: “claude-haiku-4-5-20251001”



不过sub2api没显示有claude-haiku-4-5-20251001的使用,分类器可能没有使用haiku,而且也没有让我手动verify



anyway,具体什么原因尚不清楚,中转站用的公司提供的sub2api站点,提供了7个模型


哈雷佬orz

最新回复 (4)
  • Hifumi Mizuhara 06-09 12:06
    1

    问题是这样的 从 2.1.140+ (大约 144)开始 发现 Bash权限审批的弹窗搁那不弹出来还卡住了
    现象是
    ^-^ Bash(tar tzf /Users/haleclipse/WorkSpace/Node/ClaudeCodeRev/rc-server/dist/rc-server-0.1.0.tgz | wc -l; tar tzf
    /Users/haleclipse/Wo…


    这两天看到一个类似的,好像和classifier有点关系

  • 哈雷彗星 06-09 12:06
    2

    出这坨提示就是用不了


    具体没有看 反正我直接叉出去了


    以及 没有



    这种东西


    再者 设置里面有个开关




    懂?


    问题结束

  • sore 06-14 11:07
    3

    所以佬友们这是any大善人的通病吗,我把这个true了还是会报分类器不可用欸

  • 哈雷彗星 06-14 18:15
    4

    非haiku 那些claude 模型好像都不吃分类器的提示词 会报错 那是官方的问题 不然我我也不会去指定分类器模型了


    没让你批准这就是对的啊 下面会有提示语 通过分类器 allow的

* 帖子来源Linux.do
返回