llm-anthropic 0.27

Simon Willison's Blog 工具

摘要

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.29

Simon Willison's Blog

本文宣布了llm-anthropic 0.29版本的发布,这是一个用于与Anthropic API交互的Python工具,由Simon Willison于2026年9月22日发布。

llm-anthropic 0.28 发布

Simon Willison's Blog

llm-anthropic 0.28 版本发布,这是一款用于与 Anthropic 大型语言模型交互的开发者工具,由 Portnox 赞助。

llm-anthropic 0.26

Simon Willison's Blog

llm-anthropic 0.26 增加了对 Claude 5 模型的支持,新增服务器端工具(WebSearch、WebFetch、CodeExecution、AnthropicMCP),并升级至 LLM 0.32,支持流式类型事件和简化的思考控制。

llm-anthropic 0.30

Simon Willison's Blog

Simon Willison 发布了 llm-anthropic 0.30,新增对 Claude Sonnet 5.5 的支持、一个从 API 动态刷新 Anthropic 模型的命令,以及一个使用 Anthropic 免费 token 计数 API 的全新 token 计数命令。

llm-anthropic 0.25.1

Simon Willison's Blog

llm-anthropic 0.25.1 新增对 Claude Opus 4.8 的支持、快速模式选项,并更新了默认的 max_tokens 行为。