返回全部动态

PydanticAI v2.36.0 发布:新增持久化操作与 MCP 支持

原标题:v2.36.0 (2026-08-28)

PydanticAI Releases一手来源产品发布质量 76

AI 摘要

PydanticAI 发布了 v2.36.0 版本,新增了 `--mcp-config` 支持和工具调用流式传输到 `clai`,并引入了 `@durable_operation` 装饰器及公共后端 API,以支持第三方持久化执行引擎。此外,该版本为指令部分提供了稳定的 ID,并修复了测试模型生成和 Prefect 缓存键等问题。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### ⚠️ Compatibility Notes * Add `--mcp-config` support and tool-call streaming to `clai` by @Kludex in https://github.com/pydantic/pydantic-ai/pull/1374 ### 🚀 Features * Add `@durable_operation` for capabilities and a public backend API for third-party durable execution engines by @DouweM in https://github.com/pydantic/pydantic-ai/pull/6696 * Give instruction parts a stable `InstructionPart.id


发布时间:2026-08-29 09:25
抓取时间:2026-08-29 09:30
来源机构:Pydantic
阅读原文github.com