Pydantic AI v2.34.0 Introduces LangChain Migration and GLM-5.3 Model Support
sdkaiengineerpython-agentic
feature patch
Pydantic AI version 2.34.0 has been released, bringing new features including a LangChain migration skill and support for the GLM-5.3 model within `ZaiModel`. This update enhances the library's capabilities for integrating with various AI frameworks and models. Additionally, the release addresses numerous bug fixes, improving `TestModel` generation, `FunctionSignature` rendering, and stability across several AI adapters and providers. Developers leveraging Pydantic AI for their projects, especially those working with LangChain or GLM models, will benefit from these enhancements and bug resolutions.
- →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
- →Fix TestModel generation for equal inclusive bounds by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7642
- →Render enum $refs as Literal in FunctionSignature by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7579
- →Fix TestModel generation of falsy JSON Schema const values by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7630
Features (2) ›
- 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
Fixes (12) ›
- Fix TestModel generation for equal inclusive bounds by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7642
- Render enum $refs as Literal in FunctionSignature by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7579
- Fix TestModel generation of falsy JSON Schema const values by @pydanty[bot] 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[bot] in https://github.com/pydantic/pydantic-ai/pull/7706
- Fix dropped zero-argument tool calls in CohereModel by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7720
- Fix VercelProvider dropping the Groq profile for groq/-prefixed models by @pydanty[bot] 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
Read the original announcement →
https://github.com/pydantic/pydantic-ai/releases/tag/v2.34.0
Related releases
- pydantic-ai v2.33.0 Enhances Anthropic SDK Compatibility, Resolves Runtime Issues Pydantic AI Releases ·
- Pydantic-AI v2.32.2 Delivers Critical Bug Fixes Pydantic AI Releases ·
- Pydantic-AI v2.32.1 Patch Addresses Agent Execution and Anthropic Integration Bugs Pydantic AI Releases ·
- crewAI 1.15.17 Enhances Conversational Flows and Resolves Tooling Issues CrewAI Releases ·
- LangGraph Python SDK 0.4.3 Adds Decryption Feature and Fixes Cron Management LangGraph Releases ·
- OpenAI Python Agents v0.22.0 Enhances Runtime Hardening and Configuration Validation OpenAI Agents SDK (Python) Releases ·