返回全部动态
PydanticAI v2.53.0:修复并发限流高危漏洞并新增多项功能
原标题:v2.53.0 (2026-10-01)
AI 摘要
PydanticAI 发布 v2.53.0,修复了 ConcurrencyLimitedModel 中一个高危并发槽位泄漏漏洞(GHSA-6fqq-452j-qhrp),该漏洞在流式请求提前退出或取消时可能导致共享限流器的所有请求被阻塞。此版本还调整了限流器共享规则,并新增 ToolCallJudge、托管子代理、多个 CLAI2 插件及可观测性设置等特性。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ### 🛡️ Security This release fixes one security issue in `ConcurrencyLimitedModel`. See the advisory for full details and affected versions. - **[GHSA-6fqq-452j-qhrp](https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-6fqq-452j-qhrp)** (high): a streamed request through `ConcurrencyLimitedModel` or `limit_model_concurrency` could keep its concurrency slot when the slot was released on a different
发布时间:2026-10-02 10:52
抓取时间:2026-10-02 11:29
来源机构:Pydantic