github pydantic/pydantic-ai v1.39.0
v1.39.0 (2025-12-23)

latest releases: v1.58.0, v1.57.0, v1.56.0...
one month ago

What's Changed

  • Support embedding models by @DouweM and @dmontagu in #3252
  • Add Agent and agent run metadata and expose it on result objects and span attributes by @sstanovnik in #3370
  • Support system prompts functions returning None by @mrdkucher in #3834
  • Handle ThinkingPart in MCP Sampling by @eekstunt in #3823
  • Add bedrock_service_tier setting to BedrockModelSettings by @lukekh in #3773
  • Add docs and tests for RunContext.partial_output in output tools by @Danipulok in #3726
  • Update docs about choosing priority of output and deferred tool calls with run_stream by @Danipulok in #3725
  • docs: Fix cross references by @sanxiyn in #3809
  • Add pydantic-deep + toolsets to docs by @DouweM in #3837

New Contributors

Full Changelog: v1.38.0...v1.39.0

Don't miss a new pydantic-ai release

NewReleases is sending notifications on new releases.