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.9.0: Security fix, GPT-5.6 models, usage command Pydantic AI Releases ·
- LangGraph 1.2.7: Fixes for delta overwrites and UUID generation LangGraph Releases ·
- pydantic-ai v2.1.0: Anthropic web tools, serialization, and bug fixes Pydantic AI Releases ·
- pydantic-ai v2.5.1: Bug Fixes and Model Compatibility Pydantic AI Releases ·
- crewAI 1.15.0: Conversational Flow Tracking and Declarative Flow Loading CrewAI Releases ·
- OpenAI Agents Python Library v0.17.8: Enhancements and Fixes OpenAI Agents SDK (Python) Releases ·