Pydantic AI v2.72.0 released: issues a warning when requesting deprecated models from Anthropic or OpenAI
v2.72.0 (2026-11-23)
AI summary
Pydantic AI releases v2.72.0; it issues a DeprecatedModelWarning when requesting deprecated models from Anthropic or OpenAI. This version raises the openai dependency lower bound from 3.31.0 to 3.50.0, and no longer sends the unified setting for Claude, Gemini and Grok model refusals. The longest side of images read by Coder is reduced to within 1024 pixels.