返回全部动态
PydanticAI 发布 v2.61.0:新增结构化引用与模型支持
原标题:v2.61.0 (2026-10-23)
AI 摘要
PydanticAI 发布 v2.61.0,主要新增结构化引用(citations)支持,覆盖 TextPart、Bedrock/OpenRouter/xAI 归一化、消息历史回放及 Vercel AI 适配器;同时新增 kimi-k3.1-pro 等模型名、实时会话音频输出能力标记与持久化引擎公开扩展接口。该版本还包含多项兼容性调整与缺陷修复,涉及 thinking 设置、Cohere 工具返回、MCP 异步 auth、护栏脱敏等。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at dd82a00ae3ef9a5f147405153eb877221d74d1c7 --> ## What's Changed ### ⚠️ Compatibility Notes * Warn when a provider-specific thinking setting from a broader scope overrides `thinking` by @dsfaccini in https://github.com/pydantic/pydantic-ai/pull/10231 * Send the least thinking a model accepts for `thinking=False` on models that can't turn thinking off by @DouweM in https://github.com/pydantic/pydantic-ai/pull/11036 * Raise
发布时间:2026-10-24 11:13
抓取时间:2026-10-24 12:02
来源机构:Pydantic