Releases: pydantic/pydantic-ai
Releases · pydantic/pydantic-ai
v1.13.0 (2025-11-10)
What's Changed
- Ignore empty text parts in
GoogleModelby @naveen-corpusant in #3360 - Add
AgentRun.{all,new}_messages{_json}by @tibbe in #3354 - Update known models on Cerebras and Heroku by @Kludex in #3375
- feat(gateway): support
api_typeby @Kludex in #3362 - feat(gateway): support
profileandrouting_groupby @Kludex in #3361
New Contributors
- @tibbe made their first contribution in #3354
- @cjohnhanson made their first contribution in #3371
Full Changelog: v1.12.0...v1.13.0
v1.12.0 (2025-11-06)
What's Changed
- Fix tool call incorrectly being considered approved when agent run is resumed with history ending in unapproved tool call by @DouweM in #3355
- Bump
temporalioto v1.18.2 as v1.18.0 is broken by @crossk3 in #3356 - docs: Add Braintrust to integrations by @choochootrain in #3346
New Contributors
- @choochootrain made their first contribution in #3346
- @crossk3 made their first contribution in #3356
Full Changelog: v1.11.1...v1.12.0
v1.11.1 (2025-11-05)
What's Changed
FallbackModelsupport for Native output mode andModelProfile.default_structured_output_modeby @DouweM in #3303- Fix task cancellation bug in graph beta API triggered by using
MCPServerStreamableHTTPwithagent.run_streamby @dmontagu in #3338 - Fix type annotation for
DuckDuckGoToolwith latest version ofddgspackage by @jhammarstedt in #3330 - Fix typo in docs variable name by @DenysMoskalenko in #3343
New Contributors
- @jhammarstedt made their first contribution in #3330
Full Changelog: v1.11.0...v1.11.1
v1.11.0 (2025-11-04)
What's Changed
- Improve validation error retry message by @dmontagu in #3193
- OpenAI gpt-5-chat does not support (encrypted) reasoning by @DouweM in #3332
- Complete thinking.md documentation with AWS Bedrock examples by @daniilr in #3328
- Fix graph execution bug with multiple joins downstream of same fork by @dmontagu in #3337
- Skip installing outlines dependencies mlx, vllm, torch on Intel Macs by @pcustic in #3312
- Let additional
instructionsbe provided atagent.runtime. by @baek54321 in #3309 - Add
partial_outputtoRunContextprovided to output validators by @petersli in #3286
New Contributors
- @daniilr made their first contribution in #3328
- @pcustic made their first contribution in #3312
- @baek54321 made their first contribution in #3309
- @petersli made their first contribution in #3286
Full Changelog: v1.10.0...v1.11.0
v1.10.0 (2025-11-03)
What's Changed
- Fix
MCPServererror handling with Temporal by @wreed4 in #3299 - Update directory path in ag-ui.md example by @sabman in #3310
- Implement
OpenAIResponsesModel.base_urlproperty by @chasefarmer-pixee in #3281 - Fix types to let
OpenRouterProviderbe created with onlyhttp_clientby @xcpky in #3308 - Add
Agent.run_stream_syncmethod and sync convenience methods onStreamedRunResultby @ajac-zero in #3146 - Fix typevar variance for agent deps by @dmontagu in #3319
- Add support for detecting and handling
application/mswordfiles. by @DenysMoskalenko in #3318 - Ensure AG-UI
ToolCallStartEventdoesn't use aparent_message_idfrom a previous request/response by @DouweM in #3325
New Contributors
- @wreed4 made their first contribution in #3299
- @sabman made their first contribution in #3310
- @chasefarmer-pixee made their first contribution in #3281
- @xcpky made their first contribution in #3308
- @ajac-zero made their first contribution in #3146
- @DenysMoskalenko made their first contribution in #3318
Full Changelog: v1.9.1...v1.10.0
v1.9.1 (2025-10-30)
What's Changed
- Support AsyncAnthropicVertex as AnthropicProvider.anthropic_client by @DouweM in #3292
- Set AG-UI frontend state directly on provided
depsso it can be read fromon_completehandler by @DouweM in #3297 - Retry instead of error when Google response is empty with
MALFORMED_FUNCTION_CALLor other recoverable finish reason by @ArneZsng in #3300 - Add Version Policy to docs by @DouweM in #3301
Full Changelog: v1.9.0...v1.9.1
v1.9.0 (2025-10-29)
What's Changed
- Support Vercel AI Data Stream Protocol by @samuelcolvin in #2923
- Fix docs custom retry logic example by @yf-yang in #3276
New Contributors
Full Changelog: v1.8.0...v1.9.0
v1.8.0 (2025-10-29)
What's Changed
- Add experiment metadata by @dmontagu in #3263
- Respect
openai_supports_tool_choice_requiredmodel profile setting inOpenAIResponsesModelby @pamelafox in #3272 - Use latest OpenAI, Google, Anthropic models in all examples by @DouweM in #3278
- Fix agent name inference when using
run_stream_eventsby @DouweM in #3279
New Contributors
- @pamelafox made their first contribution in #3272
Full Changelog: v1.7.0...v1.8.0
v1.7.0 (2025-10-27)
What's Changed
- Add
OutlinesModelto run local models using Transformers, Llama.cpp, MLXLM, SGLang and vLLM via Outlines by @RobinPicard in #2623 - Fix pydantic-graph importing pydantic-ai by @dmontagu in #3265
New Contributors
- @RobinPicard made their first contribution in #2623
Full Changelog: v1.6.0...v1.7.0
v1.6.0 (2025-10-24)
What's Changed
- Add
FastMCPToolsetby @strawgate in #2784 - Add
OpenAIModelProfile.openai_responses_requires_function_call_status_noneflag to satisfy vLLM Responses API by @DouweM in #3246 - Sanitize auto-generated output tool name to support generic types by @lionpeloux in #2979
- Ensure
ToolCallPart.argsresulting fromTestModel(custom_output_args=...)is always adictby @DouweM in #3254
Full Changelog: v1.5.0...v1.6.0