返回全部动态

OpenAI Agents Python v0.22.0 发布:增强稳定性与配置契约

原标题:v0.22.0

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

AI 摘要

OpenAI 发布了 openai-agents-python 库的 v0.22.0 版本,这是一个次要版本,主要增强了运行时稳定性并收紧了提供商配置契约。该版本会从可重放和持久化的 SDK 状态中删除被护栏拒绝的工具输出,对非流式响应中的失败或未完成状态抛出 ModelBehaviorError,并拒绝 OpenAIProvider 中显式客户端与 organization/project 选项的冲突配置。此外,还隔离了 RunState 检查点之间的用量统计,并扩展了通过 handoff 注册的代理在生成图中的应用。

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

正文节选

## Key Changes Version 0.22.0 is a minor release because it adds substantial runtime hardening and tightens an existing provider configuration contract. Applications that combine an explicit `openai_client` with `organization` or `project` must move those values to the `AsyncOpenAI` client. ### Highlights: - Redacts terminal function-tool output rejected by agent output guardrails from replayable and persisted SDK state. - Raises `ModelBehaviorError` for non-streaming Responses wit


发布时间:2026-08-19 21:44
抓取时间:2026-08-19 21:59
来源机构:OpenAI
阅读原文github.com