返回全部动态
PydanticAI v2.31.1 发布:修复 Bedrock 与 Gemini 兼容性问题
原标题:v2.31.1 (2026-08-17)
AI 摘要
PydanticAI 发布 v2.31.1 版本,主要包含两项 bug 修复:在 Bedrock 上拒绝 Claude Sonnet 5 和 Fable 5 的原生结构化输出,以及为拒绝 MINIMAL 思考级别的 Gemini 模型回退到 LOW 级别。这些修复旨在提升模型兼容性和稳定性。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🐛 Bug Fixes * Deny native structured output for Claude Sonnet 5 and Fable 5 on Bedrock by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7374 * Fall back to `thinking_level='LOW'` for Gemini models that reject `MINIMAL` by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7469 **Full Changelog**: https://github.com/pydantic/pydantic-ai/compare/v2.31.0...v2.31.1
发布时间:2026-08-18 11:26
抓取时间:2026-08-18 11:51
来源机构:Pydantic