返回 2026-04-16
🛠 工具 / 开源

llm-anthropic 0.25 发布:支持 Claude Opus 4.7 的 thinking_effort 与自适应思考模式llm-anthropic 0.25

simonwillison.net·2026-04-16 节选正文

Simon Willison 发布了 llm-anthropic 插件版本 0.25,新增对 Anthropic 最新模型 claude-opus-4.7 的支持,该模型引入 thinking_effort 参数并默认提升至 xhigh 级别。同时新增了 thinking_display 和 thinking_adaptive 两个布尔选项,用于控制模型推理过程的显示方式,目前仅支持 JSON 输出或日志记录。此外,max_tokens 默认值从 1024 增加到 8192,显著提升了长文本处理能力。此次更新强化了本地运行大语言模型的推理能力与可观测性。

Simon Willison

Release llm-anthropic 0.25 — LLM access to models by Anthropic, including the Claude series

New model: claude-opus-4.7, which supports thinking_effort: xhigh. #66 New thinking_display and thinking_adaptive boolean options. thinking_display summarized output is currently only available in JSON output or JSON logs. Increased default max_tokens to the maximum allowed for each model. No longer uses obsolete structured-outputs-2025-11-13 beta header for older models.

需要完整排版与评论请前往来源站点阅读。