v1.45.0
pydantic/pydantic-aiv1.45.0Jan 22, 2026by DouweM
AI Summary
Adds support for VoyageAI embeddings and fixes critical bugs including OpenRouter behavior changes for `DocumentUrl` and Gemini timeout issues.
Key Highlights
- VoyageAI embeddings support
- OpenRouter sends `DocumentUrl` as URLs instead of bytes
- Fix Gemini `HttpOptions` timeout to prevent hanging
- Fix Gemini ignoring user prompt on structured output
- Fix gateway snippet auto-generation for `google-gla`
New Features
- VoyageAI embeddings support
- `get_type_hints()` in `function_schema()`
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * VoyageAI embeddings support by @ggozad in https://github.com/pydantic/pydantic-ai/pull/3856 ### 🐛 Bug Fixes * Update the default behavior for `OpenRouter` from downloading `DocumentUrl`s and sending them as bytes, to sending them as URLs by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/3997 * fix(google): Set timeout in `HttpOptions` to prevent requests hanging indefinitely by @assafeisr in https://github.com/pydantic/pydantic-ai/pull/4032 * Fix Gemini ignoring user prompt when continuing conversation that ended on structured output by @tomsquest in https://github.com/pydantic/pydantic-ai/pull/3996 * bug: Fix gateway snippet auto-generation for the `google-gla` shorthand by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/4058 * Use `get_type_hints()` in `function_schema()` by @Viicos in https://github.com/pydantic/pydantic-ai/pull/3693 ## New Contributors * @qwaz-theori made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4055 * @polybuildr made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4046 * @HeAndres made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4034 * @tomsquest made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3996 * @ggozad made their first contribution in https://github.com/pydantic/pydantic-ai/pull/3856 * @assafeisr made their first contribution in https://github.com/pydantic/pydantic-ai/pull/4032 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v1.44.0...v1.45.0