pydantic-ai v2.11.0 adds exportable history and bug fixes
This release of pydantic-ai introduces an exportable `HistoryProcessor` for better history management and includes several bug fixes. These improvements enhance usability and address validation and schema transformation issues for specific providers like Anthropic and Bedrock. The update is available now for users of the pydantic-ai library.
- →fix(onboarding): suggest Agent('test') when provider credentials are missing by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6342
Features (1) ›
- feat
export HistoryProcessor and add actionable hints to usage-limit and tool-retry errors by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6346
Fixes (4) ›
Fix MistralStreamedResponse streamed number/integer validation to accept int-valued numbers and reject bools by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6479
- fix(onboarding): suggest Agent('test') when provider credentials are missing by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6342
fix(anthropic): transform native output schema when reached via profile={"default_structured_output_mode": "native"} by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6521
Fix Bedrock profile={'default_structured_output_mode': 'native'} sending untransformed schema by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6539
https://github.com/pydantic/pydantic-ai/releases/tag/v2.11.0
Related releases
- Pydantic AI 2.36.0 Release Introduces Durable Operations and Tool-Call Streaming Pydantic AI 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 ·