This release adds 2 notable features for engineering teams evaluating rollout.
Published 3d
AI Agents & Assistants
✓ No known CVEs patched
✓ No known CVEs patched in this version
Topics
agent-framework
genai
llm
pydantic
python
Summary
AI summaryFix ContentFilterError handling for Model Armor response blocks.
Full changelog
What's Changed
🚀 Features
- Make
RequestUsageandRunUsagesupport arbitrary fields for upcoming genai-prices by @alexmojaki in https://github.com/pydantic/pydantic-ai/pull/6683 - Cache per-message OTel serialization to avoid
O(n²)instrumentation cost by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6635
🐛 Bug Fixes
- Fix
ContentFilterErrorfor real Model Armor response blocks (finishReason: MODEL_ARMOR) and record moderation wire-truth cassettes by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6679
Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v2.16.0...v2.17.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]