返回全部动态
PydanticAI v2.35.0 发布:弃用旧 API,优化 Temporal 指标导出
原标题:v2.35.0 (2026-08-25)
AI 摘要
PydanticAI 发布 v2.35.0 版本,弃用了 RunContext.capability_loaded 和 available_capability_ids,推荐使用 capability_active 和 active_capability_ids。新版本降低了 Temporal 指标导出的默认频率,并修复了 Tool 描述为空时回退到函数文档字符串的问题。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### ⚠️ Compatibility Notes * Deprecate `RunContext.capability_loaded` and `available_capability_ids` in favor of `capability_active` and `active_capability_ids` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/7454 * Make inclusive integer `maximum` reachable in `TestModel` by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7697 ### 🚀 Features * Reduce the default Tempor
发布时间:2026-08-26 09:31
抓取时间:2026-08-26 09:56
来源机构:Pydantic