FactArticle
较新的 Claude 模型——不仅仅是小模型,还包括旗舰模型 Opus 4.8——在调用 Pi 的 edit 工具时,有时会在嵌套的 edits[] 数组中加入额外的、凭空捏造的字段,导致参数与 schema 不匹配,Pi 因此拒绝该工具调用并要求重试。
Armin Ronacher 发现,较新的 Claude 模型——即便是旗舰模型 Opus 4.8——在调用 Pi 的 edit 工具时,有时会凭空捏造出额外的字段,导致 schema 校验失败,调用被拒绝。 ✦ AI 生成 · 平台预翻
Armin Ronacher · Simon Willison's Weblog · 2026-07-04 · English original →
简单来说就是,较新的 Claude 模型有时会在调用 Pi 的 edit 工具时,在嵌套的 edits[] 数组里带上额外的、凭空捏造的字段。而且不是 Haiku 或哪个小模型干的:是 Opus 4.8。编辑本身通常是对的,但参数对不上 schema,因为模型编造了一些莫须有的键,于是 Pi 就拒绝了这次工具调用,要求重试。
The short version is that newer Claude models sometimes call Pi's edit tool with extra, invented fields in the nested edits[] array. And not Haiku or some small model: Opus 4.8. The edit itself is usually correct but the arguments do not match the schema as the model invents made-up keys and Pi thus rejects the tool call and asks to try again.阅读原文 ↗合理引用摘录 · 中文为平台译文