This release adds 6 notable features for engineering teams evaluating rollout.
Published 4d
AI Agents & Assistants
β No known CVEs patched
✓ No known CVEs patched in this version
Topics
agent-framework
genai
llm
pydantic
python
Affected surfaces
deps
Summary
AI summaryUpdates π Features, π Bug Fixes, and π¦ Dependencies across a mixed release.
Full changelog
What's Changed
π Features
- Add
mistral_prompt_cache_keysetting and passparallel_tool_callsto the Mistral SDK by @lionpeloux in https://github.com/pydantic/pydantic-ai/pull/6654 - Add
ToolFailedfor model-visible failures without retries by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5585 - Add optional
run_id=to agent runs, durable wrappers, and UI adapters by @grahamcracker1234 in https://github.com/pydantic/pydantic-ai/pull/6615 - Hoist
openai_moderationtoOpenAIChatModelSettingsand expose Chat Completions moderation results inprovider_detailsby @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6658 - feat(google): add Model Armor support for Google Cloud via
GoogleModelSettingsby @Alex-Resch in https://github.com/pydantic/pydantic-ai/pull/5691 - Add
gemini-3.6-flashandgemini-3.5-flash-litemodels by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6668
π Bug Fixes
- Raise a consistent
ctx.enqueue()error inside durable units across Temporal, DBOS, and Prefect by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6666 - Preserve
$refsibling keywords when inlining$defsby @lntutor in https://github.com/pydantic/pydantic-ai/pull/6592 - Guard
ctx.enqueue()from anevent_stream_handlerinside DBOS steps / Prefect tasks by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6671 - Preserve failed tool outcomes across AG-UI message round trips by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6659
- Fix tool retry counts across skipped steps by @zcxGGmu in https://github.com/pydantic/pydantic-ai/pull/6582
π¦ Dependencies
- Bump pillow, pyasn1, and setuptools to resolve Dependabot alerts by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6657
New Contributors
- @AKSHITAK1040 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6633
- @grahamcracker1234 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6615
- @sergioperezcheco made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6585
- @lntutor made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6592
- @zcxGGmu made their first contribution in https://github.com/pydantic/pydantic-ai/pull/6582
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.15.0...v2.16.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
Related context
Related tools
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]