v1.35.0
pydantic/pydantic-aiv1.35.0Dec 17, 2025by DouweM
AI Summary
Introduces a `FileSearchTool` and support for new AI models including Alibaba Cloud DashScope and Gemini 3 Flash. It also adds AG-UI multi-modal message support and OpenAI reasoning options.
Key Highlights
- Add `FileSearchTool` with support for OpenAI and Google
- Add support for `ImageGenerationTool.size` to Gemini
- Add Alibaba Cloud `DashScopeProvider` and Qwen Omni audio input
- Support OpenAI reasoning summary option 'auto'
New Features
- FileSearchTool
- Image generation size support
- DashScope/Qwen provider support
- OpenAI reasoning 'auto' option
- AG-UI multi-modal messages
Full Release Notes
## What's Changed * Add `FileSearchTool` with support for OpenAI and Google by @gorkachea in https://github.com/pydantic/pydantic-ai/pull/3396 * Add support for `ImageGenerationTool.size` to Gemini image models by @h0rv in https://github.com/pydantic/pydantic-ai/pull/3720 * Adding Gemini 3 flash by @jhammarstedt in https://github.com/pydantic/pydantic-ai/pull/3755 * Add Alibaba Cloud `DashScopeProvider` and support audio input for Qwen Omni by @Pavanmanikanta98 in https://github.com/pydantic/pydantic-ai/pull/3596 * Added support for AG-UI Multi-modal Messages by @bojan2501 in https://github.com/pydantic/pydantic-ai/pull/3715 * Set timestamps on AG-UI events by @thejens in https://github.com/pydantic/pydantic-ai/pull/3742 * Support OpenAI reasoning summary option 'auto' by @DouweM in https://github.com/pydantic/pydantic-ai/pull/3753 * Operate on a deepcopy of `$defs` in `JsonSchemaTransformer` instead of the original schema by @thomasst in https://github.com/pydantic/pydantic-ai/pull/3758 * Fix typing issue when using `UIAdapter.dispatch_request` with agent with `output_type` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/3749 ## New Contributors * @h0rv made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3720 * @thejens made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3742 * @gorkachea made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3396 * @bojan2501 made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3715 * @thomasst made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3758 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.34.0...v1.35.0