---
agent:
  instructions: "Search published articles with space-separated keywords. All terms must occur in the article text. Results are Markdown excerpts with canonical links, newest first."
  endpoint: "https://www.zaihua.news/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://www.zaihua.news/docs/api/#agent-search"
---

# OpenAI 为 Responses API 增加 WebSocket 支持，长链条任务提速 40%

Source: https://www.zaihua.news/article/39856/

[返回新闻流](https://www.zaihua.news/)
2026年2月25日 · 15:15 · [在花新闻](https://www.zaihua.news/about/)

# OpenAI 为 Responses API 增加 WebSocket 支持，长链条任务提速 40%

OpenAI 宣布为其 Responses API 引入 WebSocket 模式，专门针对涉及频繁工具调用的复杂工作流进行优化。该模式通过建立持久连接并支持增量输入，可将包含 20 次以上工具调用的长链条任务执行速度提升约 40%。此外，WebSocket 模式兼容零数据保留（ZDR）规范，支持利用 previous_response_id 实现低延迟的上下文续接。目前单次连接时长限制在 60 分钟以内。

[OpenAI](https://developers.openai.com/api/docs/guides/websocket-mode)

🍀[在花频道](http://t.me/zaihuanews) 🍵[茶馆聊天](http://t.me/zaihuachat) 📮[投稿](http://t.me/ZaiHuabot)

[上一条 Spotify 联合 Liquid Death 推出骨灰盒造型限量版蓝牙音箱](https://www.zaihua.news/article/39855/)[下一条中国主要芯片商拟大幅扩产先进半导体，应对 AI 需求增长](https://www.zaihua.news/article/39857/)
