返回全部动态

OpenAI Python SDK v3.25.0 发布,增强 agents 本地工具与工具搜索支持

原标题:v3.25.0

OpenAI Python SDK Releases一手来源API 更新质量 72

AI 摘要

OpenAI 发布 Python SDK v3.25.0,主要围绕 agents 能力进行更新:支持在流式会话创建过程中运行本地工具,并可观测本地工具失败情况。同时新增 agent turn items 与 usage source grouping 的 API 支持,公开导出 type_to_response_format_param,并在类型化函数辅助工具中支持工具搜索(defer_loading=true)。

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

正文节选

## [3.25.0](https://github.com/openai/openai-python/compare/v3.24.0...v3.25.0) (2026-10-06) ### Features * **agents:** observe local tool failures ([#4028](https://github.com/openai/openai-python/issues/4028)) ([95d9645](https://github.com/openai/openai-python/commit/95d9645128cb370b9b04413492b864179602c008)) * **agents:** run local tools during streamed session creation ([#4027](https://github.com/openai/openai-python/issues/4027)) ([919b623](https://github.com/openai/openai-python/commit/91


发布时间:2026-10-07 01:56
抓取时间:2026-10-07 02:05
来源机构:OpenAI
阅读原文github.com