Anthropic 已更新其 Claude Opus 和 Sonnet 模型,其中 Opus 5.5 于 2026 年 9 月 22 日推出,Sonnet 5.5 于 9 月 28 日推出。使用 Claude API 的开发者可能会遇到 HTTP 400 错误,如果他们尝试使用先前版本的特定设置,例如 `thinking: {"type": "disabled"}` 或强制的 `tool_choice` 配置。新模型需要调整处理思考和工具选择的方式,其中 `thinking: {"type": "between_tools"}` 取代了 Sonnet 5.5 中的 `disabled`,而 `tool_choice: {"type": "auto"}` 被推荐为工具选择的方法。此外,还需要更改对话历史编辑和工具声明以避免错误。 AI
影响 开发者必须更新其集成以适应 Claude Opus 和 Sonnet 5.5 中新的 API 行为,这可能需要为工具使用和对话历史管理进行代码更改。
排序理由 前沿实验室发布新模型,并附带特定的 API 更改。[lever_c_demoted from frontier_release: ic=1 ai=1.0]
- .anthropic
- claude5-migration-kit
- Claude API
- Claude Opus 5
- Claude Opus 5.5
- Claude Sonnet 5
- Claude Sonnet 5.5
- Google.Cloud
AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →