github pydantic/pydantic-ai v1.88.0
v1.88.0 (2026-04-28)

9 hours ago

What's Changed

🚀 Features

  • feat(capabilities)!: output validate/process hooks; scope prepare_tools to function tools, add prepare_output_tools by @DouweM in #4859
  • feat: cross-provider service_tier model setting; Anthropic + Gemini API + Vertex Priority PayGo support by @markmcd in #4926
  • Add anthropic speed, fast mode for opus 4.6 by @bohdanhr in #4300
  • feat: support OpenAI Responses phase on assistant messages by @DouweM in #5229
  • feat(ui): add UIAdapter.sanitize_messages and allowed_file_url_schemes by @DouweM in #5228

🐛 Bug Fixes

  • fix: restore per-block cache_control for anthropic_cache_messages by @Wh1isper in #5227
  • fix: propagate original error when CallToolsNode stream fails by @thejens in #4799
  • fix: propagate Agent(retries=...) to user-provided toolsets by @dsfaccini in #4745

New Contributors

Full Changelog: v1.87.0...v1.88.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.