返回全部动态
PydanticAI 发布 v2.58.0
原标题:v2.58.0 (2026-10-17)
AI 摘要
PydanticAI 发布 v2.58.0,包含多项兼容性变更、新功能与缺陷修复。兼容性方面调整了挂起响应的用量统计、RealtimeConnection 生命周期事件公开、read_file 支持图片与 PDF 等。新功能包括委派任务 steer、消息单次存储、模型请求重试与超时控制、Vercel AI 与 AG-UI 前端消息流等。修复涉及系统提示保留、并行工具调用、Bedrock/Mistral 工具选择、缓存与流式错误回退等问题。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
> This comment was posted by codex-tui using gpt-6.1-sol on behalf of David. <!-- Release notes generated using configuration in .github/release.yml at 52ff60dc01441a078c987b030df86201357dc22f --> ## What's Changed ### ⚠️ Compatibility Notes * Count a resumed `'suspended'` response's usage only in the run that produced it, in `RunUsage`, `UsageLimits` and `SpendLimits` by @DouweM in https://github.com/pydantic/pydantic-ai/pull/10078 * Make `RealtimeConnection` yield lifecycle events through a
发布时间:2026-10-18 01:28
抓取时间:2026-10-18 01:32
来源机构:Pydantic