返回全部动态
PydanticAI v2.25.0 发布:新增 xAI 搜索选项并修复多项问题
原标题:v2.25.0 (2026-08-05)
AI 摘要
PydanticAI 发布了 v2.25.0 版本,主要新增了 xAI FileSearchTool 集合搜索选项的转发功能,并修复了多个 bug,包括 Azure 上 Mistral 模型的 max_tokens 参数、base_url 端口处理、GPT-5.6 模型的 thinking 模式以及工具调用参数解析等问题。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at main --> ## What's Changed ### 🚀 Features * Forward xAI `FileSearchTool` collections search options by @pydanty[bot] in https://github.com/pydantic/pydantic-ai/pull/7154 ### 🐛 Bug Fixes * fix(azure): send `max_tokens` for Mistral models, not `max_completion_tokens` by @feiiiiii5 in https://github.com/pydantic/pydantic-ai/pull/6929 * Omit server attributes for a malformed `base_url` port and forward `base_url` through `Wr
发布时间:2026-08-06 10:57
抓取时间:2026-08-06 21:36
来源机构:Pydantic