返回全部动态

OpenAI Agents Core 0.21.0 发布

原标题:@openai/agents-core@0.21.0

OpenAI Agents JavaScript Releases一手来源API 更新质量 62

AI 摘要

OpenAI 发布 @openai/agents-core 0.21.0 版本,修复了流式运行、用量统计和保存状态中嵌套数值 token 用量明细的保留问题(schema 升级至 1.23,兼容读取旧快照),并移除了 Runloop 沙箱提供商及其公开 API,同时提供迁移指南。此外,该补丁版本在沙箱动态压缩阈值中新增了对 GPT-6 Astra、Sol、Luna 及 GPT-6.1 Sol 的识别支持。

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

正文节选

### Minor Changes - 989513a: fix: Preserve bounded nested numeric token usage breakdowns across streamed runs, usage accounting, and saved run state (schema 1.23, with backward reads of earlier snapshots; #2082); usage detail values now require narrowing to numbers before arithmetic. - 7b05470: feat: Remove the Runloop sandbox provider and its public API; see the [migration guide](https://github.com/openai/openai-agents-js/tree/main/examples/sandbox/extensions#migrating-from-runloop) for suppor


发布时间:2026-10-21 06:07
抓取时间:2026-10-21 06:13
来源机构:OpenAI
阅读原文github.com