Anthropic 发布 llm-anthropic 0.25,更新 Claude Opus 4.7 模型功能

Simon Willison··作者 Simon Willison

关键信息

thinking_display 选项仅在 JSON 输出或日志中可用,且模型现在默认使用最大允许的 token 限制。旧模型不再使用 structured-outputs-2025-11-13 beta 请求头,简化了向后兼容性。

资讯摘要

2026年4月16日,Anthropic 发布了 llm-anthropic Python 库的 0.25 版本,其中包含新的 claude-opus-4.7 模型。该模型支持新的 'xhigh' 思考力度级别,允许进行更深入的推理。新增了两个参数——thinking_display 和 thinking_adaptive,用于控制模型内部思考过程的展示方式。

默认的 max_tokens 已提高到模型允许的最大值,提升了灵活性。此外,该库不再使用旧版的 structured-outputs-2025-11-13 beta 请求头处理旧模型,降低了 API 使用的复杂度。这些更新旨在提升开发者的体验,并实现对模型行为的更精确控制。

资讯正文

2026年4月16日

新模型:claude-opus-4.7,支持thinking_effort : xhigh。#66 新增thinking_display和thinking_adaptive布尔选项。目前,thinking_display的摘要输出仅在JSON格式输出或JSON日志中可用。

默认max_tokens已提升至各模型允许的最大值。

旧模型不再使用已过时的structured-outputs-2025-11-13 beta头。

来源与参考

  1. 原始链接
  2. Release: llm-anthropic 0.25

收录于 2026-04-17