llm-anthropic 0.27

Simon Willison's Weblog Simon Willison's Weblog

Release: https://github.com/simonw/llm-anthropic/releases/tag/0.27">llm-anthropic 0.27


This release of the Anthropic plugin for https://llm.datasette.io/">LLM mainly provides compatibility with the recently released https://github.com/anthropics/anthropic-sdk-python/releases/tag/v1.0.0">anthropic v1.0.0 Python library, which switches from httpx to https://github.com/pydantic/httpx2">httpx2.

OpenAI made the same change in their https://github.com/openai/openai-python/releases/tag/v3.0.0">v3.0.0 release two weeks ago.


Anthropic provide this https://github.com/anthropics/anthropic-sdk-python/blob/v1.0.0/MIGRATION.md">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 https://github.com/simonw/llm-anthropic/pull/84">the resulting PR.




Tags: https://simonwillison.net/tags/python">python, https://simonwillison.net/tags/httpx">httpx, https://simonwillison.net/tags/llm">llm, https://simonwillison.net/tags/anthropic">anthropic, https://simonwillison.net/tags/claude">claude

Read full article at Simon Willison's Weblog →