返回全部动态

PydanticAI v2.65.0 发布:新增 WebSocket 传输与 ConversationStore

原标题:v2.65.0 (2026-11-02)

PydanticAI Releases一手来源开源质量 72

AI 摘要

PydanticAI 发布 v2.65.0,为 OpenAI Responses 增加 WebSocket 传输,并新增 ConversationStore 以消息日志形式保存会话、通过 Conversation.revision 检测保存冲突。该版本还支持 GPT-5.6 及以上的 12 小时提示缓存保留、模型拒绝时在 ModelFallback 中回退到下一个模型,并修复了 Bedrock、Azure、Z.ai 等提供方的错误分类与 Temporal 重试逻辑。

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

正文节选

<!-- Release notes generated using configuration in .github/release.yml at a56a6d6f138d1e3a9c45a9697ea513bef47a6cea --> ## What's Changed ### ⚠️ Compatibility Notes * Protect the `gh-aw` canonical session capture from agent tools by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/10606 * Add multimodal notes to `AskUserAnswer` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/11664 * Count `BrowserUse` model calls toward the host run's usage and `UsageLimits` by @mpfaffen


发布时间:2026-11-03 09:25
抓取时间:2026-11-03 09:47
来源机构:Pydantic
阅读原文github.com