llm-anthropic 0.26 发布:支持 Claude 5 系列新模型

llm-anthropic 0.26

精选理由

llm-anthropic 更新到 0.26 了,支持 Claude 5 全家桶和四个服务端工具,装 LLM 0.32 就能用,玩 Claude 5 的可以试试。

AI 摘要

llm-anthropic 0.26 发布,新增 claude-fable-5、claude-sonnet-5、claude-opus-5 三个模型。该版本引入 WebSearch、WebFetch、CodeExecution、AnthropicMCP 服务端工具,可通过 -T 接口调用。旧的 -o web_search* 选项已移除,统一改用 -T WebSearch。升级到 llm>=0.32 后,推理、工具调用等以类型化事件流式传输。Claude 5 默认启用思考,Sonnet 5 和 Opus 5 可用 -o thinking 0 关闭,Fable 5 强制思考。

原文 · Simon Willison’s Weblog

llm-anthropic 0.26

Release: llm-anthropic 0.26 Includes new features enabled by LLM 0.32 : New models: claude-fable-5 , claude-sonnet-5 , and claude-opus-5 . #75 , #76 Added server-side tools for WebSearch , WebFetch , CodeExecution , and AnthropicMCP , available through LLM's -T interface or Python tools= . The previous -o web_search* options have been removed in favor of -T WebSearch . #79 Upgraded to llm>=0.32 . Reasoning, tool calls, tool results, and server-side tool results now stream as typed events. Reasoning for llm CLI prompts now displays to standard error unless you pass --hide-reasoning/-R . Simplified extended thinking to thinking and thinking_effort ( low , medium , high , xhigh , or max ). Claude 5 models think by default; -o thinking 0 disables thinking for Sonnet 5 and Opus 5, while Fable 5 always thinks. -R/--hide-reasoning now omits reasoning from responses and logs. The thinking_budget , thinking_display , and thinking_adaptive options have been removed. #80 Tags: llm , anthropic , claude , model-context-protocol