pydantic-ai v2.7.0: Azure shorthand, Grok-4.5 model, and bug fixes
sdkaiazureengineerpython-agentic
feature patch
Version 2.7.0 of pydantic-ai introduces support for the Azure-responses model ID shorthand and adds the xAI grok-4.5 model. It also includes several bug fixes, such as improved handling of boolean JSON Schema nodes and preservation of HTTPX event hooks. This release is relevant for developers using pydantic-ai with Azure and other AI providers.
- →Support azure-responses:[model-id] shorthand by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6355
- →Add xAI grok-4.5 model by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6362
- →handle boolean JSON Schema nodes in function signature walker by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6314
- →fix(gateway): preserve HTTPX event hooks by @VectorPeak in https://github.com/pydantic/pydantic-ai/pull/6327
- →Allow override(model=...) on an agent with no model set by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6357
Features (2) ›
- Support azure-responses:[model-id] shorthand by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6355
- Add xAI grok-4.5 model by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6362
Fixes (4) ›
- fix handle boolean JSON Schema nodes in function signature walker by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6314
- fix(gateway): preserve HTTPX event hooks by @VectorPeak in https://github.com/pydantic/pydantic-ai/pull/6327
- Allow override(model=...) on an agent with no model set by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6357
- Disable document input for AlibabaProvider (Chat Completions API) by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/5727
Read the original announcement →
https://github.com/pydantic/pydantic-ai/releases/tag/v2.7.0
Related releases
- Pydantic-AI v2.35.3 Patch Release Addresses Several Bug Fixes Pydantic AI Releases ·
- pydantic-ai v2.35.2 Patches GLM Routing and Tooling Issues Pydantic AI Releases ·
- Google ADK Python v1.39.1 Patch Addresses Numerous Fixes Google ADK (Python) Releases ·
- LangChain LangGraph SDK 0.4.4 Released LangGraph Releases ·
- crewAI 1.15.18 Improves Conversational Flows and Agent Stability CrewAI Releases ·
- Pydantic-AI v2.35.1 Patch Release Addresses Key Bug Fixes Pydantic AI Releases ·