返回全部动态
llm-anthropic 0.27 发布,兼容 Anthropic v1.0.0
原标题:llm-anthropic 0.27
AI 摘要
llm-anthropic 0.27 版本发布,主要兼容 Anthropic 新发布的 v1.0.0 Python 库,该库从 httpx 切换到 httpx2。作者使用 Claude Code 中的 Fable 5 模型,根据官方迁移指南自动升级代码并生成 PR。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
24th August 2026 This release 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
发布时间:2026-08-25 00:27
抓取时间:2026-08-25 03:42
来源机构:Simon Willison