@openai/agents-openai@0.22.0
Release 0.22.0 of @openai/agents-openai fixes compilation issues, handles namespaced model IDs, updates dependency compatibility (including Zod 4.6.6), and exposes tool definitions on generation spans when sensitive data capture is enabled.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
@openai/agents-openai@0.22.0 brings multiple patch fixes and feature additions alongside an update to @openai/agents-core@0.22.0. Notable features include exposing Chat Completions tool definitions on generation spans for custom tracing processors when sensitive data capture is enabled. Fixes include deferring automatic Responses compaction during pending tool approvals, accepting namespaced OpenAI model IDs, resolving compilation errors caused by duplicate endpoint helper imports, enforcing stream completion checks, and batching conversation appends under 20-item limits. Type-level breaking changes require narrowing bounded JSON usage details, Realtime image content, nullable MCP descriptions, and schemas.
可执行摘要
@openai/agents-openai updated to 0.22.0, aligning behavior with the Python SDK. Key updates include exposing tool definitions on generation spans under sensitive data capture, deferring compaction during pending tool approvals, defaulting reasoning effort to 'none' for specific models, and breaking type updates around bounded JSON usage and wire types.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Review TypeScript code for breaking type changes involving JSON usage details, Realtime image content, nullable MCP descriptions, and tracing metadata.
- Verify compatibility if relying on Zod, updated to version 4.6.6.
- Update dependency @openai/agents-openai and @openai/agents-core to 0.22.0.