Skip to content

pydantic-ai

v1.93.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 tool_choice setting and new output tool event types, deprecating old function-tool events.

Full changelog

What's Changed

🚀 Features

  • Add tool_choice setting by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3611
  • Yield OutputToolCallEvent/OutputToolResultEvent for output tool calls; deprecate function-tool events for failing output tool calls by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5320

🐛 Bug Fixes

  • Drain spawned tasks during agent cancellation by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5341

New Contributors

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

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