v2.34.0
pydantic/pydantic-aiv2.34.0Aug 25, 2026by dsfaccini
AI Summary
Adds support for GLM-5.3 and a LangChain migration skill, alongside fixes for `TestModel` generation and various adapter issues.
Key Highlights
- Add a LangChain migration skill
- Add GLM-5.3 support to `ZaiModel`
- Fix `TestModel` generation for equal inclusive bounds and falsy JSON Schema `const` values
- Fix `VercelAIAdapter` rejecting reasoning part `id` in run input
New Features
- LangChain migration skill
- GLM-5.3 support for `ZaiModel`
Full Release Notes
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Add a LangChain migration skill by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/7679 * Add GLM-5.3 support to `ZaiModel` by @aisk in https://github.com/pydantic/pydantic-ai/pull/7600 ### 🐛 Bug Fixes * Fix `TestModel` generation for equal inclusive bounds by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7642 * Render enum $refs as `Literal` in `FunctionSignature` by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7579 * Fix `TestModel` generation of falsy JSON Schema `const` values by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7630 * Fix stale `UIEventStream` part state on cancellation by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/7675 * Only strip `logit_bias` from Cerebras model settings by @ryanl-cerebras in https://github.com/pydantic/pydantic-ai/pull/7653 * Fix `VercelAIAdapter` rejecting reasoning part `id` in run input by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7706 * Fix dropped zero-argument tool calls in `CohereModel` by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7720 * Fix `VercelProvider` dropping the Groq profile for `groq/`-prefixed models by [@pydanty](https://github.com/apps/pydanty) in https://github.com/pydantic/pydantic-ai/pull/7551 * fix(evals): honor zero-valued `SpanQuery` maximums by @lntutor in https://github.com/pydantic/pydantic-ai/pull/6934 * Handle asctime-form `Retry-After` dates in `wait_retry_after()` by @parveshsaini in https://github.com/pydantic/pydantic-ai/pull/7711 * Honor agent tool retry budget for `load_capability` by @lntutor in https://github.com/pydantic/pydantic-ai/pull/6937 * Recognize Bedrock’s `r1` alias in `deepseek_model_profile()` by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/7723 ## New Contributors * @brianosaurus made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7522 * @junqi410-create made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7669 * @aisk made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7600 * @ryanl-cerebras made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7653 * @parveshsaini made their first contribution in https://github.com/pydantic/pydantic-ai/pull/7711 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.33.0...v2.34.0