pydantic / logfire

Uncomplicated Observability for Python and beyond! 🪵🔥
https://docs.pydantic.dev/logfire/
MIT License
1.62k stars 46 forks source link

Anthropic new release has breaking changes with downstream effects on Logfire's Anthropic support #227

Closed willbakst closed 2 weeks ago

willbakst commented 3 weeks ago

Description

Anthropic pulled tools out of beta, so the beta stuff no longer exists in newer versions of the package. This means that someone using the newest version of their SDK can't use Logfire + Anthropic.

Solution here is to require the use of the most recent package and update dependencies on the old beta types and code to just use the now standard code.

Python, Logfire & OS Versions, related packages (not required)

No response

willbakst commented 2 weeks ago

Submitting a PR to fix this shortly.

alexmojaki commented 2 weeks ago

Fixed in https://github.com/pydantic/logfire/pull/249