github pydantic/pydantic-ai v2.18.0
v2.18.0 (2026-07-24)

5 hours ago

What's Changed

🚀 Features

  • Add AdvisorTool support for Anthropic and OpenRouter by @adtyavrdhn in #6605
  • Add 'us'/'eu' multi-region locations to GoogleCloudProvider location type by @pydanty[bot] in #6715
  • Add external_web_access option to WebSearchTool for OpenAI Responses by @pydanty[bot] in #6710
  • Add BedrockMantleProvider and normalize response-scoped tool-call IDs by @dsfaccini in #6538

🐛 Bug Fixes

  • Map deferred google-genai stream errors in GoogleModel by @dmontagu in #6693

Full Changelog: v2.17.0...v2.18.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.