Skip to content

pydantic-ai

v1.91.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 support for gpt-image-2, deepseek-v4-flash, and deepseek-v4-pro.

Full changelog

What's Changed

🚀 Features

  • feat(openai): support gpt-image-2 options by @banteg in https://github.com/pydantic/pydantic-ai/pull/5234
  • feat(deepseek): add support for deepseek-v4-flash anddeepseek-v4-pro by @SuperMarioYL in https://github.com/pydantic/pydantic-ai/pull/5195

🐛 Bug Fixes

  • fix(evals): preserve Unicode in YAML datasets by @Kcstring in https://github.com/pydantic/pydantic-ai/pull/5245
  • Skip empty ModelResponse in OpenAI Chat assistant message mapping by @DouweM in https://github.com/pydantic/pydantic-ai/pull/5300
  • Fix MCP history replay for empty tool arguments by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/5314

New Contributors

  • @Kcstring made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5245
  • @khaldon made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5301
  • @SuperMarioYL made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5195
  • @banteg made their first contribution in https://github.com/pydantic/pydantic-ai/pull/5234

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