# OpenAI Agents Python SDK 发布 v0.21.1，新增模型调用超时、沙箱工作目录等功能并修复多项问题

- 来源：OpenAI Agents Python Releases
- 发布时间：2026-08-17 06:28
- AIWatch 分数：61
- AIWatch 标记：未精选
- AIWatch 链接：https://aiwatch.icu/events/evt_01m06bfwwya9rkqds8rrnx4bnv
- 原文链接：https://github.com/openai/openai-agents-python/releases/tag/v0.21.1

## 精选理由

常规快讯，保留列表

## AI 摘要

OpenAI Agents Python SDK 发布 v0.21.1，新增模型调用超时、沙箱工作目录等功能并修复多项问题。

## 正文

What's Changed

feat(core): add model call timeouts by @seratch in #4428
feat(sandbox): add run-scoped sandbox working directories by @seratch in #4427
feat(sandbox): allow Docker sandboxes to disable networking by @koadegno in #4452
feat(sandbox): add Modal sandbox resource options by @Filimoa in #4455
fix(core): honor exact call approval decisions by @seratch in #4447
fix(core): count Responses requests without usage by @seratch in #4453
fix(core): close all MultiProvider children after failures by @fszcd in #4438
fix(core): reject partially matched stacked anchors by @Coiggahou2002 in #4431
fix(chat-completions): Chat Completions reasoning replay by @seratch in #4432
fix(realtime): truncate audio at zero elapsed time by @Chirag6722 in #4457
fix(realtime): end iteration after clean server close by @seratch in #4461
fix(sessions): prevent advanced SQLite structure table conflicts by @seratch in #4454
fix(sessions): include compaction usage in run totals by @seratch in #4446
fix(sandbox): validate view_image raster content by @seratch in #4462
fix(sandbox): keep model paths POSIX-normalized by @sylvesterkaczmarek in #4416
fix(sandbox): normalize apply_patch paths as POSIX by @sylvesterkaczmarek in #4437

Documentation & Other Changes

docs: updates for v0.21.0 release by @seratch in #4381
docs: list Tuning Engines tracing integration by @cerebrixos in #4440
fix: update cffi lock for Python 3.14 by @seratch in #4448
release: 0.21.1 by @seratch in #4467

New Contributors

@Coiggahou2002 made their first contribution in #4431
@fszcd made their first contribution in #4438
@cerebrixos made their first contribution in #4440
@Filimoa made their first contribution in #4455
@koadegno made their first contribution in #4452
@Chirag6722 made their first contribution in #4457

Full Changelog: v0.21.0...v0.21.1
