@openai/agents-openai@0.22.0
OpenAI Agents SDK for JavaScript released version 0.22.0 of @openai/agents-openai and @openai/agents-core, introducing Chat Completions tool tracing, updated reasoning effort defaults, streaming and compaction fixes, and dependency upgrades including Zod 4.6.6.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
The 0.22.0 release brings multiple fixes and enhancements across the OpenAI Agents JavaScript SDK. Key updates include: (1) Tracing now exposes Chat Completions tool definitions on generation spans when sensitive data capture is active (omitted in hosted exports). (2) Default reasoning effort is set to 'none' for function tools and handoffs on Chat Completions with gpt-6-sol and gpt-6-luna models. (3) Responses compaction now accepts namespaced OpenAI model IDs and defers compaction during pending tool approvals. (4) Unfinished official Chat Completions streams are properly rejected. (5) Fixes for compiling duplicate endpoint helpers, forcing functions/handoffs that share built-in tool names, and batching conversation appends within the 20-item request limit. (6) Type updates to OpenAI wire types, bounded JSON usage metadata, and schema retention rules (schema 1.23 vs 1.24), alongside updating Zod to 4.6.6.
可执行摘要
@openai/agents-openai@0.22.0 fixes compilation errors, stream completion handling, session compaction for tool approvals, and namespaced model IDs. It also updates default reasoning effort to 'none' for function tools and handoffs with specific models, batches conversation session appends up to 20 items, exposes tool definitions in tracing spans when sensitive data capture is enabled, and updates wire/state types…
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade @openai/agents-openai and @openai/agents-core to version 0.22.0.
- Verify compatibility with narrowed usage details, Realtime image content, and updated wire types if consuming raw metadata.
- Ensure any custom tracing processors leverage exposed tool definitions correctly under sensitive data capture settings.