返回全部动态
PydanticAI v2.27.1 发布:多项 Bug 修复
原标题:v2.27.1 (2026-08-10)
AI 摘要
PydanticAI 发布了 v2.27.1 版本,主要包含多项 bug 修复。修复了失败参数验证时的工具跨度恢复、XaiStreamedResponse 的 finish_reason 映射、离线 Web UI 托管指向自包含聊天 UI 构建、Anthropic 上允许自适应思考与工具输出及强制工具选择,以及根据 include_content 门控 RetryPromptPart 的 OpenTelemetry 内容。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Restore tool spans for failed argument validation by @adtyavrdhn in https://github.com/pydantic/pydantic-ai/pull/6601 * Fix `XaiStreamedResponse` finish_reason mapping for streaming responses by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/6814 * Point offline web UI hosting at the self-contained chat UI build by @dsfaccini in https://github.com/pydantic/pydan
发布时间:2026-08-11 10:41
抓取时间:2026-08-11 10:45
来源机构:Pydantic