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 v2.10.0: Tool pairing, OpenAI/Anthropic support, bug fixes Pydantic AI 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 ·