Skip to content
Main Site News Console

llm-anthropic 0.27

· Simon Willison Translated
技巧LLM

Release: llm-anthropic 0.27

This release of the Anthropic LLM plugin is primarily for compatibility with the recently released anthropic v1.0.0 Python library. That library switched from httpx to httpx2. Two weeks ago, OpenAI made the same change in its v3.0.0 release.

Anthropic provides this migration guide for upgrading to version 1.0. So, in Claude Code, I prompted Fable 5 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 is the resulting PR.