github pydantic/pydantic-ai v2.15.0
v2.15.0 (2026-07-21)

7 hours ago

What's Changed

🚀 Features

  • feat(openai): support explicit prompt caching for gpt-5.6 by @Wh1isper in #6423
  • Inline text-like files in MistralModel prompts by @pulphix in #6556
  • Support overriding the tool-retry budget at run/iter/override time by @dsfaccini in #6072
  • Support DynamicCapability toolsets in durable execution and wrap DynamicToolset in DBOS steps and Prefect tasks by @DouweM in #6623
  • Add openai_moderation setting and expose OpenAI Responses API moderation results in provider_details by @pydanty[bot] in #6628
  • Deprecate the Exa search common tools in favor of the ExaSearch capability in Pydantic AI Harness by @dsfaccini in #6644

🐛 Bug Fixes

  • Fix hosted tool_search replay with null call IDs by @adtyavrdhn in #6604
  • Mark untyped arrays as not strict-compatible for OpenAI by @hramezani in #6547
  • Fix durability capability compatibility regressions by @dsfaccini in #6631
  • Fix OpenAI background retrieve 400 for reasoning.encrypted_content on persisted responses by @pydanty[bot] in #6614
  • Round-trip tool control-flow exceptions on DBOS/Prefect, fix Prefect replay edges, and add register_legacy_workflows to DBOSDurability for clean DBOSAgent migration by @DouweM in #6640

Full Changelog: v2.14.1...v2.15.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.