返回全部动态

OpenAI Python SDK v3.4.0 发布:新增 API 字段并修复多项问题

原标题:v3.4.0

OpenAI Python SDK Releases一手来源API 更新质量 76

AI 摘要

OpenAI 发布了 Python SDK v3.4.0,新增了 ChatCompletionChunk 的混淆字段、项目驻留配置和成本数量单位等 API 功能,并修复了多个 Azure 认证、WebSocket 重定向和 SSE 解码等问题。该版本还改进了文档和代码结构,提升了 SDK 的稳定性和安全性。

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

正文节选

## [3.4.0](https://github.com/openai/openai-python/compare/v3.3.1...v3.4.0) (2026-08-25) ### Features * **api:** Add obfuscation field to ChatCompletionChunk ([#3690](https://github.com/openai/openai-python/issues/3690)) ([c7d8e1d](https://github.com/openai/openai-python/commit/c7d8e1d26be1f958e55c80f26b648f768afabdf2)) * **api:** add project residency configuration and cost quantity units ([#3726](https://github.com/openai/openai-python/issues/3726)) ([bc4f8ef](https://github.com/openai/open


发布时间:2026-08-27 05:48
抓取时间:2026-08-28 10:34
来源机构:OpenAI
阅读原文github.com