返回全部动态

OpenAI Agents Python SDK v0.19.0 发布,支持程序化工具调用

原标题:v0.19.0

OpenAI Agents Python Releases一手来源产品发布质量 81

AI 摘要

OpenAI 发布了 openai-agents-python SDK 的 v0.19.0 版本,该版本引入了程序化工具调用(Programmatic Tool Calling)功能,允许支持的模型生成 JavaScript 来协调工具。此外,还新增了 @tool 装饰器别名、改进了 SDK 配置的灵活性、增强了日志安全性和兼容性,并添加了 Vercel 云挂载策略。

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

正文节选

## Key Changes This minor release does **not** introduce a breaking change. The minor version bump reflects a significant new OpenAI Responses feature area: Programmatic Tool Calling. ### Highlights: - Added `agents.tool.ProgrammaticToolCallingTool`, which lets supported OpenAI Responses models generate JavaScript to coordinate eligible tools. It supports per-tool `allowed_callers`, structured function-tool outputs, and integration with Runner streaming, guardrails, approvals, session


发布时间:2026-07-27 12:10
抓取时间:2026-08-02 00:23
来源机构:OpenAI
阅读原文github.com