claude-fable-5-2 400 报错原文与改法
截至 2026-11-13,Anthropic 官方文档列出:把 model 换成 claude-fable-5-2 之后,请求可能返回 400 的情形有——思考块前缀检查失败、旧版 computer_20251124 工具、advisor 工具的模型对不上,以及从 claude-opus-5-5 过来时没有开 30 天数据保留。强制 tool_choice、thinking 设为 disabled 或 enabled、采样参数、预填 assistant 消息同样返回 400,这几条 claude-fable-5-1 上已经如此。下面逐条给出官方报错文本、原因和最小的改前 / 改后写法,并写明 Claude Code 的最低版本,以及在 QCode 上同样的改法。
更新于 2026-11-13
一把 Key 调用 Claude、GPT 与主流国产模型,按 token 计费,几分钟上手。
- 按 token 计费,实时单价见 /models
- 支付宝、微信支付、信用卡、加密货币均可付款
- 充值后自助开通、立刻生效
四条官方要点
改过历史:思考块被拒
官方报错原文(Claude API 错误文档,核对于 2026-11-13):报错以 messages.{i}.content.{j} 开头,核心句是「The block is bound to a different conversation」。官方迁移指南写明:在对话中途改了 system、tools 或更早的消息、再把思考块送回去,就会得到这个 400;原样重试不会好。改法是让对话历史只追加、不改动。
旧版 computer 工具被拒
官方迁移指南写明:tools 里出现 computer_20251124,除 Amazon Bedrock 外所有平台返回 400。改法是声明 {"type": "computer_toolset_20260801"},去掉 beta 头,条目里不带 name 和显示尺寸,并按新工具集更新你的 agent 循环。错误文档以 claude-opus-5-5 为例给出报错形式:「'claude-opus-5-5' does not support tool types: computer_20251124.」并写明消息会在「Did you mean one of」之后列出可接受的工具类型(核对于 2026-11-13)。
advisor 模型必须对上
官方迁移指南写明:使用 advisor 工具(beta)时,claude-fable-5-2 作为 executor 只接受 claude-fable-5-2 或 claude-mythos-5-2 作为 advisor,其他 advisor(含 claude-fable-5-1)返回 400 invalid_request_error。改法是换 executor 的 model ID 时,把 advisor 工具定义里的 model 一并改成 claude-fable-5-2,并在新对话里改。指南没有印出这条报错的原文(核对于 2026-11-13)。
与 claude-fable-5-1 相同的 400
官方迁移指南写明:强制 tool_choice {type: "any"} 或 {type: "tool", name: "..."}、thinking {"type": "disabled"} 或 {"type": "enabled", budget_tokens: N}、预填 assistant 消息,在 claude-fable-5-2 上都返回 400,与 claude-fable-5-1 一致;temperature、top_p、top_k 要省略,同 claude-fable-5-1。what's new 文档写明前两条规则对 claude-fable-5-1 或 claude-opus-5-5 过来的用户都不是变化(核对于 2026-11-13)。
换成 claude-fable-5-2 之后哪些请求会被拒
截至 2026-11-13,官方迁移指南列出把 model 换成 claude-fable-5-2 之后可能返回 400 的改动。从 claude-fable-5-1 过来是三条:① 前缀检查失败——改了 system、tools 或更早的消息之后又把思考块送回去,改法是对话历史只追加;② tools 里的 computer_20251124(Amazon Bedrock 除外),改成声明 computer_toolset_20260801;③ advisor 工具的模型不是 claude-fable-5-2 或 claude-mythos-5-2,把 advisor 的 model 改掉。从 claude-opus-5-5 过来,前缀检查和 advisor 规则同样适用,另有第四条:组织或工作区没有开 30 天数据保留,每个请求都返回 400,切换前先开启。从 claude-fable-5 过来,强制 tool_choice {type: "any"} 或 {type: "tool", name: "..."} 也会返回 400,改成 {type: "auto"},在指令里点名工具并设 strict: true。指南称从 claude-fable-5-1 换过来是 mostly drop-in:API 接口、始终开启的 adaptive thinking、强制工具选择限制、拒绝处理和数据保留要求都与 claude-fable-5-1 一致。
报错文本、原因与改法逐条对照
① 前缀检查失败。官方 API 错误文档给出的报错文本是:「messages.{i}.content.{j}: Invalid `signature` in `thinking` block. The block is bound to a different conversation. Remove the block, or set `thinking.block_binding.prefix_mismatch_behavior` to "drop_block".」原因(迁移指南):在 claude-fable-5-2 上,每个思考块只对它之前的 system、tools 和消息有效,改了其中任何一项再把该块送回去就返回 400,原样重发同一段历史会以同样方式失败。改法是让历史只追加:整个会话冻结 system 和 tools,之后改指令或改工具用对话中途的 system 消息。要继续已经失败的对话,请带上 thinking-binding-controls-2026-08-01 这个 beta 头,并在重试和之后每个请求里把 thinking.block_binding.prefix_mismatch_behavior 设为 "drop_block";或者删掉报错点名的那个块,以及它之后所有的 thinking 与 redacted_thinking 块。没带该 beta 头就发 block_binding,会得到以「block_binding: Extra inputs are not permitted」结尾的 400。如果对话历史由 Claude Code、claude.ai、Claude Managed Agents 或 Claude Agent SDK 管理,你不用改任何东西。另一条不同的报错是「blocks in the latest assistant message cannot be modified」,它表示某个块被改动过,要把每个思考块原样送回。② 旧版 computer 工具。错误文档写明 invalid_request_error 消息会点名被拒的类型,并在「Did you mean one of」之后列出可接受的类型;给出的示例是 claude-opus-5-5 的「'claude-opus-5-5' does not support tool types: computer_20251124.」官方没有印出 claude-fable-5-2 开头的原文。原因:tools 里的 computer_20251124 在除 Amazon Bedrock 外的所有平台返回 400。改前:{"type": "computer_20251124"};改后:{"type": "computer_toolset_20260801"},不带 beta 头、不带 name 和显示尺寸。③ advisor 配对:claude-fable-5-2 作为 executor 只接受 claude-fable-5-2 或 claude-mythos-5-2 作为 advisor,别的 advisor 返回 400 invalid_request_error;在新对话里把 advisor 的 model 改成 claude-fable-5-2,因为改 advisor 的 model 属于改 tools,改完再送回早先的思考块会过不了前缀检查。④ 数据保留(从 claude-opus-5-5 过来时):指南写明 claude-fable-5-2 要求 30 天数据保留,在 Claude API 上,没有开启的组织或工作区的请求返回 400 invalid_request_error;切换前为工作区开启 30 天保留,或联系你的 Anthropic 客户团队。官方数据保留文档把 claude-fable-5-2 列为要求 30 天保留的型号,并为不满足要求的 claude-fable-5 请求给出这条报错:「In order to access this model, your organization or workspace must have data retention enabled.」⑤ 强制工具调用(与 claude-fable-5-1 相同):错误文档给出「tool_choice: type "tool" and "any" are not supported for this model.」改前:tool_choice: {"type": "any"};改后:tool_choice: {"type": "auto"},加一条点名该工具的指令,并给工具设 strict: true;{type: "auto"} 与 {type: "none"} 仍被接受。使用客户自管加密密钥的组织里要去掉 strict,并在你自己的代码里校验工具入参。⑥ 思考参数(与 claude-fable-5-1 相同):错误文档给出「"thinking.type.disabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior.」以及「"thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior.」 adaptive thinking 始终开启;改前:thinking: {"type": "disabled"};改后:不带 thinking 字段,或发送 {"type": "adaptive"},用 effort 控制思考深度。⑦ 采样参数:官方 thinking 文档写明,temperature、top_p、top_k 取非默认值时每个请求都返回 400,不论是否使用思考;请求体里把这三项去掉。⑧ 预填(与 claude-fable-5-1 相同):错误文档给出「This model does not support assistant message prefill. The conversation must end with a user message.」迁移指南说改用 system prompt 里的指令。报错文本与改法核对于 2026-11-13。
时间线
Anthropic 官方型号页写明 claude-fable-5-2 的发布日期是 2026 年 11 月 9 日;官方迁移指南列出了切换之后的破坏性变更和请求体 400 报错。
Claude Code 官方 changelog 的 2.1.321(2026-11-09)加入 claude-fable-5-2,作为默认的 Fable 型号;官方 model-config 写明 claude-fable-5-2 需要 v2.1.321 或更高,旧版本运行 claude update 升级。
QCode 的 /models 已列出 claude-fable-5-2;以上官方来源与 QCode 线上页面均核对于 2026-11-13。
已确认 vs 官方未公布
已确认(官方原文)
① 型号写法:官方迁移指南给出 model = "claude-fable-5-1" # Before 与 model = "claude-fable-5-2" # After,从 claude-opus-5-5 过来则是 model = "claude-opus-5-5" # Before 与 model = "claude-fable-5-2" # After;除 Amazon Bedrock 外各平台的型号 ID 都是 claude-fable-5-2。② 从 claude-fable-5-1 过来,指南列出四处可能让代码出问题的变更:前缀检查失败返回 400;claude-fable-5-1 读不了 claude-fable-5-2 的思考块(API 会丢掉它们,请求仍成功);computer_20251124 在除 Amazon Bedrock 外的平台返回 400;claude-fable-5-2 作 executor 只接受 claude-fable-5-2 或 claude-mythos-5-2 作 advisor。③ 从 claude-opus-5-5 过来,指南列出数据保留(要求 30 天保留,否则 400 invalid_request_error)、前缀检查和 advisor 规则。④ 没变的:指南称从 claude-fable-5-1 迁移基本是 mostly drop-in,API 接口、始终开启的 adaptive thinking、强制工具选择限制、拒绝处理和数据保留要求都与 claude-fable-5-1 一致;Claude Managed Agents 除改 model 名外无需改动(agent 带 advisor 时要同时改 advisor 的 model)。⑤ Claude Code:官方 changelog 写明 2.1.321(2026-11-09)加入了 claude-fable-5-2;官方 model-config 写明 Fable 5.2 需要 Claude Code v2.1.321 或更高、升级运行「claude update」,切换用「/model fable」或「claude --model fable」;版本记录写明从 v2.1.321 起 fable 指向 Fable 5.2。⑥ QCode:线上状态页写明 QCode 已支持 claude-fable-5-2,/models 已列出 claude-fable-5-2,端点文档给出 Anthropic Messages 的 Base URL 是 https://api.qcode.cc/api,按 token 计费、各模型单价见 /models。以上均核对于 2026-11-13。
官方未公布的部分
截至 2026-11-13,Anthropic 官方迁移指南、API 错误文档与 what's new 文档只写到 claude-fable-5-2 这一代的 400 报错与改法。这三份文档没有印出 claude-fable-5-2 在 computer 工具与 advisor 上的报错原文;数据保留文档给出的报错原文针对的是 claude-fable-5 请求,不是 claude-fable-5-2;下一个 Fable 型号的 ID、发布日期,以及未来版本会拒绝哪些参数,官方页面都没有写。官方 model-config 写明别名会跟随所用平台推荐的版本、随时间更新,但没有给出未来的版本号或日期;以之后的官方页面为准。
从哪一代换过来,改动一样吗
从 claude-fable-5-1 过来
官方迁移指南称这一步基本是 mostly drop-in,model 字段从 claude-fable-5-1 改成 claude-fable-5-2 即可。可能返回 400 的是三处:改过 system、tools 或更早消息之后的前缀检查失败;Amazon Bedrock 之外的 computer_20251124;advisor 不是 claude-fable-5-2 或 claude-mythos-5-2。强制 tool_choice、thinking 与采样参数的规则对你不是新变化(核对于 2026-11-13)。
从 claude-opus-5-5 或 claude-fable-5 过来
从 claude-opus-5-5 过来,指南列出三处返回 400 的变化:要求 30 天数据保留、前缀检查、advisor 规则;强制 tool_choice 和始终开启的思考两边一致。从 claude-fable-5 过来,指南把强制工具选择、前缀检查、computer_20251124 和 advisor 规则都列为破坏性变更,请按上面的逐条改法处理(核对于 2026-11-13)。
可照抄的改法与检查顺序
① 把请求体里的 model 从 claude-fable-5-1(或 claude-opus-5-5)改成 claude-fable-5-2;官方最小示例是 model = "claude-fable-5-1" # Before 与 model = "claude-fable-5-2" # After。② 如果你自己拼 messages 数组,让历史只追加,整个会话冻结 system 和 tools;已有对话撞上「bound to a different conversation」的 400 时,带上 thinking-binding-controls-2026-08-01 beta 头并把 thinking.block_binding.prefix_mismatch_behavior 设为 "drop_block",或删掉报错点名的块和它之后所有思考块。③ 把 computer_20251124 换成 computer_toolset_20260801,去掉 beta 头、name 和显示尺寸。④ 把 advisor 工具的 model 设成 claude-fable-5-2;从 claude-opus-5-5 过来的先为工作区开启 30 天数据保留。⑤ 检查旧请求里有没有强制 tool_choice、thinking 的 disabled 或 enabled、temperature、top_p、top_k、预填的 assistant 消息。⑥ Claude Code / SDK 用户:官方 model-config 写明需要 v2.1.321 或更高,用 claude --version 看当前版本、claude update 升级,会话里用 /model fable 或 /model claude-fable-5-2 切换;由 Claude Code 管理对话历史时不用改动。
在 QCode 上怎么用
换成 claude-fable-5-2 之后,报错文本与改法相同。QCode 已支持 claude-fable-5-2:Claude Code 等 Anthropic 协议工具把 model 设为 claude-fable-5-2 即可,Base URL https://api.qcode.cc/api;同一把 Key 还能调 claude-fable-5-1、claude-fable-5、claude-opus-5-5 等。按 token 计费,各模型单价见 /models。不想包月?按量包 ¥26 起买一笔额度,7 天内用完为止;已有个人套餐的用户额度不够时买加油包。
常见问题
claude-fable-5-2 返回 400 报错是怎么回事?
先把报错对到上面的条目:含「Invalid `signature` in `thinking` block」是前缀检查失败,含「does not support tool types: computer_20251124」是旧版 computer 工具,含 tool_choice 或 thinking.type 的是旧写法的请求体,各改一处即可,改法见上。Anthropic 迁移指南另列了 advisor 模型对不上,以及从 claude-opus-5-5 过来时没开 30 天数据保留。如果是 QCode 余额用完而不是请求体被拒,见 /credit-balance-too-low(核对于 2026-11-13)。
报错里的「The block is bound to a different conversation」是什么意思?
这是前缀检查失败:官方迁移指南写明,你在对话中途改了 system、tools 或更早的消息,又把思考块送了回去,原样重试不会好。让历史只追加;要继续已经失败的对话,带上 thinking-binding-controls-2026-08-01 beta 头并把 thinking.block_binding.prefix_mismatch_behavior 设为 "drop_block",或删掉报错点名的块和它之后所有思考块(核对于 2026-11-13)。
tool_choice 或 thinking.type.disabled 的 400 怎么改?
tool_choice:官方 API 错误文档写明 type "tool" 与 "any" 不被支持,把 tool_choice 留为 {type: "auto"},在指令里点名工具并设 strict: true。thinking:省略 thinking 字段或发送 {"type": "adaptive"},用 output_config.effort 控制深度,因为 thinking: {"type": "disabled"} 与 thinking: {"type": "enabled", budget_tokens: N} 都返回 400(核对于 2026-11-13)。
旧代码要改哪里?
官方迁移指南给出 model = "claude-fable-5-1" # Before 与 model = "claude-fable-5-2" # After;除此之外检查前缀检查、computer_20251124、advisor 的模型,以及从 claude-opus-5-5 过来时的数据保留。指南称从 claude-fable-5-1 换过来基本是 mostly drop-in,并写明由 Claude Code、Claude Managed Agents 或 Agent SDK 管理对话历史时不用改动(核对于 2026-11-13)。
想先退回 claude-fable-5-1 怎么写?
官方 model-config 写明要留在 claude-fable-5-1,就按型号 ID 选:会话里用 /model claude-fable-5-1,或启动时加 claude --model claude-fable-5-1;官方 changelog 也把 /model claude-fable-5-1 作为切回的命令。官方 model-config 还写明网关会话用 /model claude-fable-5-2 来选 claude-fable-5-2(核对于 2026-11-13)。
Claude Code 要升到哪个版本?
官方 model-config 写明 claude-fable-5-2 需要 v2.1.321 或更高;官方 changelog 里 2.1.321 的日期是 2026-11-09。用 claude --version 看当前版本,低于最低版本就运行 claude update;切换用 /model fable 或 /model claude-fable-5-2。完整设置见 /claude-code-fable-5-2-setup(核对于 2026-11-13)。
来源
Anthropic 官方:Claude Fable 5.2 迁移指南、API 错误、what's new、型号总览、thinking 与 computer use 工具文档;Claude Code 官方:changelog 与 model-config;QCode:qcode.cc/models、qcode.cc/claude-fable-5-2-status-tracker 与 docs.qcode.cc 上的端点页。均抓取并核对于 2026-11-13。
相关
按量包:不包月,7 天有效
不包月,一次买一笔额度,7 天有效,各模型单价见 /models。
Claude Fable 5.2 发布状态追踪
claude-fable-5-2 的官方型号 ID、发布日期与 QCode 上线状态。
adaptive thinking 与 effort 档位
adaptive thinking 怎么用、effort 档位怎么设。
加密货币充值指南
9 种币、56 条网络,0 平台手续费购买 AI 编程 API 额度。
官方表述核对于 2026-11-13,对照 Anthropic 与 Claude Code 页面;型号可用性与单价以 qcode.cc/models 为准。