返回全部动态
PydanticAI v2.31.0 发布:UIEventStream 增强与多项修复
原标题:v2.31.0 (2026-08-14)
AI 摘要
PydanticAI 发布 v2.31.0 版本,新增功能允许 UIEventStream 无需 run_input 构建,并为 AGUIEventStream 提供独立的 thread_id/run_id。同时修复了 FallbackModel 失败跨度归属错误以及 Temporal 工作流沙箱中 openai 传递问题。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Allow a `UIEventStream` to be built without a `run_input`, and give `AGUIEventStream` its own `thread_id`/`run_id` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/7292 ### 🐛 Bug Fixes * Attribute failed `FallbackModel` spans to the failing model, not the `fallback:` wrapper by @strawgate in https://github.com/pydantic/pydantic-ai/pull/7018 * Pass `openai` through
发布时间:2026-08-15 11:04
抓取时间:2026-08-15 11:30
来源机构:Pydantic