返回全部动态

OpenAI Agents Python SDK v0.20.0 发布:默认模型更新与 MCP 兼容性改进

原标题:v0.20.0

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

AI 摘要

OpenAI Agents Python SDK 发布 v0.20.0 版本,将默认模型改为 gpt-5.6-luna,并支持 MCP Python SDK v1 和 v2。该版本还引入了 RunState.add_input() 用于暂存持久化用户输入,并增强了沙箱挂载的凭证安全验证。此更新对使用自定义 MCP HTTP 传输的应用可能产生破坏性影响,需要迁移到 httpx2 或固定 mcp<2 版本。

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

正文节选

## Key Changes Version 0.20.0 is a minor release because it changes the implicit default model and includes a potentially breaking MCP dependency migration for applications with customized local HTTP transports. MCP v1 remains supported, and affected applications can migrate to `httpx2` or pin `mcp<2`. ### Highlights: - The default model is now `gpt-5.6-luna`; explicit models, run-level overrides, and `OPENAI_DEFAULT_MODEL` continue to take precedence. - Local MCP connections suppo


发布时间:2026-08-11 11:12
抓取时间:2026-08-11 11:16
来源机构:OpenAI
阅读原文github.com