openai OpenAI Python SDK Releases · · 3.4.0

OpenAI Python SDK v3.4.0 Adds Obfuscation Field, Project Residency, and Bug Fixes

sdkaigapreviewengineer
feature patch

OpenAI has released version 3.4.0 of its Python SDK, introducing new capabilities for ChatCompletionChunk obfuscation and project residency configuration. This update also includes numerous bug fixes across the API, WebSocket handling, and Azure deployments, enhancing stability and consistency. Developers using the SDK can now leverage these new features and benefit from improved reliability and authenticated interactions. The release also clarifies documentation for image generation models and vulnerability disclosure.

  • Add obfuscation field to ChatCompletionChunk
  • add project residency configuration and cost quantity units
  • encode Realtime call offers and session configuration
  • apply consistent origin checks to WebSocket redirects
  • encode deployment names consistently
Features (2)
  • api Add obfuscation field to ChatCompletionChunk
  • api add project residency configuration and cost quantity units
Fixes (12)
  • api encode Realtime call offers and session configuration
  • apply consistent origin checks to WebSocket redirects
  • azure encode deployment names consistently
  • azure keep provider validation errors value-free
  • azure resolve one authentication mode
  • 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
Maintenance (15)
Read the original announcement →

https://github.com/openai/openai-python/releases/tag/v3.4.0

Related releases