Anthropic 发布了 llm-anthropic 0.27,支持最新 anthropic v1.0.0 库,与 OpenAI v3.0.0 保持一致,方便用户迁移升级。
llm-anthropic 0.27 版本主要提供与最近发布的 anthropic v1.0.0 Python 库的兼容性,该库从 httpx 切换到 httpx2。Anthropic 提供了升级到 1.0 的迁移指南,使用 Claude Code 的 Fable 5 进行了升级测试。
llm-anthropic 0.27
Release: llm-anthropic 0.27 This release of the Anthropic plugin for LLM mainly provides compatibility with the recently released anthropic v1.0.0 Python library, which switches from httpx to httpx2 . OpenAI made the same change in their v3.0.0 release two weeks ago. Anthropic provide this migration guide for upgrading to 1.0, so I prompted Fable 5 in Claude Code with: Upgrade to anthropic>=1 - read https://raw.githubusercontent.com/anthropics/anthropic-sdk-python/refs/heads/main/MIGRATION.md and get the tests passing Here's the resulting PR . Tags: python , httpx , llm , anthropic , claude