Change8

v3.4.0

📦 openai-python-sdkView on GitHub →
2 features🐛 12 fixes🔧 2 symbols

Summary

This release introduces new features like obfuscation in ChatCompletionChunk and project residency configuration. It also includes numerous bug fixes across API, Azure, and WebSocket handling, along with documentation updates and internal refactors.

✨ New Features

  • Add obfuscation field to ChatCompletionChunk.
  • Add project residency configuration and cost quantity units.

🐛 Bug Fixes

  • Encode Realtime call offers and session configuration.
  • Apply consistent origin checks to WebSocket redirects.
  • Encode deployment names consistently for Azure.
  • Keep provider validation errors value-free for Azure.
  • Resolve one authentication mode for Azure.
  • Compute custom-code summaries from trusted workflow code.
  • Create upload example fixtures in private directories.
  • Decode SSE incrementally without limiting event size.
  • Keep Python SDK diagnostics metadata-only.
  • Preserve Azure authentication boundaries across transports.
  • Preserve the configured TLS hostname.
  • Preserve WebSocket send queue byte accounting during flush.

Affected Symbols