OpenAI Python SDK v3.20.0
OpenAI Python SDK v3.20.0 introduces Agents credential and session options, Cyber access programs for Responses, and incremental WebSocket snapshot options, alongside several Realtime and Live transport bug fixes.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
The v3.20.0 release of the OpenAI Python SDK adds new API features, including credentials and session options for Agents, Cyber access programs in Responses, and opt-in support for incremental WebSocket text and tool snapshots as well as accumulator snapshots. It addresses several WebSocket, Live, and Realtime bugs such as avoiding hangs during fractional transcript grouping deadlines, preventing uncertain WebSocket replays, and correctly handling query parameters in URL paths and WebSocket upgrades. In addition, unmapped TLS transport errors are now retried, and extensive documentation updates were added across error responses.
可执行摘要
OpenAI Python SDK v3.20.0 updates the API surface with Agents credential/session configurations and Responses snapshot controls over WebSockets. It fixes critical streaming/transport issues, including TLS error retries and WebSocket query/queue preservation.
- Agent 实用度
- 77/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade the OpenAI Python SDK to v3.20.0 if using real-time WebSockets, streaming responses, or agent sessions.
- Review WebSocket implementations to leverage opt-in incremental text and tool snapshots if applicable.
- Verify integration code handling WebSocket query parameters and connection retries against the updated queue and replay logic.