llm-anthropic 0.27
摘要
llm-anthropic 版本 0.27 已发布,以提供与 anthropic v1.0.0 Python 库的兼容性。此更新涉及从 httpx 切换到 httpx2,并借助使用 Claude Code 来完成迁移过程。
暂无内容
查看缓存全文
缓存时间: 2026/08/24 20:29
# 发布版本:llm-anthropic 0.27
来源:https://simonwillison.net/2026/Aug/24/llm-anthropic/
本次为LLM (https://llm.datasette.io/) 发布的 Anthropic 插件更新,主要提供了与近期发布的 anthropic v1.0.0 (https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.0.0) Python 库的兼容性,该库已从 `httpx` 切换至 httpx2 (https://github.com/pydantic/httpx2)。OpenAI 两周前在其 v3.0.0 (https://github.com/openai/openai-python/releases/tag/v3.0.0) 版本中也进行了相同的变更。
Anthropic 提供了升级至 1.0 版本的迁移指南 (https://github.com/anthropics/anthropic-sdk-python/blob/v1.0.0/MIGRATION.md),因此我在 Claude Code 中向 Fable 5 提出如下指令:
> `升级至 anthropic>=1 版本 - 阅读 https://raw.githubusercontent.com/anthropics/anthropic-sdk-python/refs/heads/main/MIGRATION.md 并确保测试通过`
以下是生成的合并请求 (https://github.com/simonw/llm-anthropic/pull/84)。
相似文章
llm-anthropic 0.26
llm-anthropic 0.26 增加了对 Claude 5 模型的支持,新增服务器端工具(WebSearch、WebFetch、CodeExecution、AnthropicMCP),并升级至 LLM 0.32,支持流式类型事件和简化的思考控制。
llm-anthropic 0.25.1
llm-anthropic 0.25.1 新增对 Claude Opus 4.8 的支持、快速模式选项,并更新了默认的 max_tokens 行为。
llm-anthropic 0.25
llm-anthropic 0.25 发布,支持 Claude Opus 4.7,新增 thinking_effort 和 thinking_display 选项,增加默认 max_tokens,并移除过时的 beta 头。
LLM 0.32.1 版本
LLM 工具已更新至版本 0.32.1,以修复与 OpenAI 库的依赖问题。即将发布的 0.33 版本将从 httpx 迁移至 httpx2。
llm 0.32a1
llm 0.32a1 版本发布说明。llm 是由 Simon Willison 开发的一个用于处理大语言模型的 Python 命令行工具和库。