Skip to content

pydantic-ai

v1.92.0 Feature

This release adds 2 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

Added Anthropic task budget support and output_retries override while deprecating retries.

Full changelog

What's Changed

🚀 Features

  • Add Anthropic task budget support by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5140
  • Add runtime output_retries override + deprecate retries + internal retry-field rename by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5075

🐛 Bug Fixes

  • Fix: Clean up streaming responses on cancellation by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5313
  • Fix attempted exit cancel scope in different task by running MCP session in a dedicated task by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4514
  • Populate for_run RunContext with run_id, conversation_id, and metadata by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5330
  • fix(evals): guarantee CaseLifecycle.teardown() by @voorhs in https://github.com/pydantic/pydantic-ai/pull/5322

New Contributors

  • @voorhs made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5322

Full Changelog: https://github.com/pydantic/pydantic-ai/compare/v1.91.0...v1.92.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]