pydantic-ai v2.8.0: New features and bug fixes
sdkaiengineerpython-agentic
feature patch
Pydantic-ai version 2.8.0 introduces new features like enhanced `to_cli()` capabilities and an updated bundled chat UI. The release also addresses several bugs, including validation issues with tool parameters and fixes for response handling. This update is relevant for developers utilizing pydantic-ai for AI agent development and integration.
- →Allow to_cli() to pass model for unset-model agents by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6384
- →Bump bundled chat UI to 2.0.0 and target sdk_version=7 in Agent.to_web() by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6296
- →validate Tool max_retries and timeout parameters by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6375
- →validate ToolOutput max_retries by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6377
- →validate Agent tool_timeout by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6383
Features (2) ›
- Allow to_cli() to pass model for unset-model agents by @hramezani in https://github.com/pydantic/pydantic-ai/pull/6384
- Bump bundled chat UI to 2.0.0 and target sdk_version=7 in Agent.to_web() by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/6296
Fixes (6) ›
- fix validate Tool max_retries and timeout parameters by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6375
- fix validate ToolOutput max_retries by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6377
- fix validate Agent tool_timeout by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6383
- fix validate max_queued in ConcurrencyLimit and ConcurrencyLimiter by @isheng-eqi in https://github.com/pydantic/pydantic-ai/pull/6373
- Fix JsonSchemaTransformer to recurse into allOf composition by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6394
- Fix empty and thinking-only responses reusing earlier text as the run output by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6403
Read the original announcement →
https://github.com/pydantic/pydantic-ai/releases/tag/v2.8.0
Related releases
- Pydantic-AI v2.35.3 Patch Release Addresses Several Bug Fixes Pydantic AI Releases ·
- pydantic-ai v2.35.2 Patches GLM Routing and Tooling Issues Pydantic AI Releases ·
- Google ADK Python v1.39.1 Patch Addresses Numerous Fixes Google ADK (Python) Releases ·
- LangChain LangGraph SDK 0.4.4 Released LangGraph Releases ·
- crewAI 1.15.18 Improves Conversational Flows and Agent Stability CrewAI Releases ·
- Pydantic-AI v2.35.1 Patch Release Addresses Key Bug Fixes Pydantic AI Releases ·