Agent 基础设施官方发布自动监测

Pydantic AI v2.45.0 (2026-09-17)

Pydantic AI v2.45.0 adds TypeSafeModel for TypeSafe's Jev, expands Bedrock Converse support for new models and high effort settings, and delivers multiple fixes for durable runs, MCP handling, and span usage reporting.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Pydantic AI version 2.45.0 introduces the TypeSafeModel supporting TypeSafe's Jev. Key bug fixes and optimizations include: passing 'xhigh' effort through Bedrock when supported by the model profile; enabling gpt-5.6-sol, gpt-5.6-luna, and gpt-5.6-terra on Bedrock Converse; performance/lifecycle enhancements in durable execution by resolving DynamicToolset and maintaining MCP server sessions once per durable run rather than per durable unit; preserving tool history inside MCPSamplingModel; fixing import issues with legacy httpx under FastMCP 4 setups in pydantic ai.mcp ; and isolating token/usage reporting to each agent run's respective span.

Agent 解析

可执行摘要

Pydantic AI v2.45.0 introduces TypeSafeModel for Jev, fixes Bedrock Converse integration (supports gpt-5.6-sol/luna/terra and passing 'xhigh' effort), optimizes durable runs to resolve DynamicToolset and hold MCP server sessions once per run, fixes MCPSamplingModel tool history preservation, removes legacy httpx imports in MCP, and updates span usage reporting per agent run.

Agent 实用度
82/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Upgrade to pydantic-ai v2.45.0 to resolve MCP session reuse and DynamicToolset resolution overhead in durable runs.
  • Verify compatibility if using FastMCP 4, as legacy httpx imports have been removed from pydantic ai.mcp.
  • Update Bedrock Converse configurations if adopting gpt-5.6-sol, gpt-5.6-luna, gpt-5.6-terra, or 'xhigh' effort parameters.
分类

标签与路由

pydantic-aityped-agentspython
相关信号

继续阅读