Skip to content

pydantic-ai

v2.15.0 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

βœ“ No known CVEs patched
Read the diff β†’ Tool health β†’ What is this tool? β†’

✓ No known CVEs patched in this version

Topics

agent-framework genai llm pydantic python

Summary

AI summary

Updates πŸš€ Features, πŸ› Bug Fixes, and openai across a mixed release.

Full changelog

What's Changed

πŸš€ Features

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

πŸ› Bug Fixes

  • Fix hosted tool_search replay with null call IDs by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6604
  • Mark untyped arrays as not strict-compatible for OpenAI by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6547
  • Fix durability capability compatibility regressions by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6631
  • Fix OpenAI background retrieve 400 for reasoning.encrypted_content on persisted responses by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/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 https://github.com/pydantic/pydantic-ai/pull/6640

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.14.1...v2.15.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track pydantic-ai

Get notified when new releases ship.

Sign up free

About pydantic-ai

AI Agent Framework, the Pydantic way

All releases β†’

Related context

Earlier breaking changes

  • v1.95.0 rename β€˜built-in tools’ to β€˜native tools’, deprecate old fields, register via capabilities=[NativeTool(...)]

Beta — feedback welcome: [email protected]