pypi pydantic-ai 2.6.0
v2.6.0 (2026-07-07)

3 hours ago

What's Changed

🚀 Features

  • Record time-to-first-token for streaming model requests by @dmontagu in #5967
  • feat: Add files support to CodeExecutionTool for Anthropic and OpenAI by @HenryYYang in #4338
  • Add Bedrock model profiles for Writer, Z.AI, and Moonshot AI, and refresh LatestBedrockModelNames by @DouweM in #6318

🐛 Bug Fixes

  • Forward WebSearchTool domain filters to Groq search_settings by @Iam-Mil in #6160
  • Give a clear error for non-positive concurrency max_running by @VectorPeak in #6282
  • fix(evals): constrain judge_output reason to be concise and retry-safe by @anmolg1997 in #5089
  • Re-enable Prefect test suite and fix PrefectAgent cache-key drift by @adtyavrdhn in #6313
  • fix(google): recover Gemini 3+ File Search grounding dropped with native tool parts by @adtyavrdhn in #6216
  • fix: serialize callable thinking delta provider details by @hramezani in #6294
  • Resolve capability for_run once per run and preserve resolved native tools under override(native_tools=...) by @DouweM in #6332
  • Reject conflicting native tool IDs within a capability layer by @hramezani in #6242

📦 Dependencies

New Contributors

Full Changelog: v2.5.1...v2.6.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.