OpenAI Python SDK v3.4.0

v3.4.0
Added 2
  • Add obfuscation field to ChatCompletionChunk
  • Add project residency configuration and cost quantity units
Fixed 12
  • Encode Realtime call offers and session configuration
  • Apply consistent origin checks to WebSocket redirects
  • Encode deployment names consistently in Azure
  • Keep provider validation errors value-free in Azure
  • Resolve one authentication mode in Azure
  • Compute custom-code summaries from trusted workflow code

From OpenAI Python SDK

3.4.0 (2026-08-25)
Features
  • api: Add obfuscation field to ChatCompletionChunk (#3690) (c7d8e1d)
  • api: add project residency configuration and cost quantity units (#3726) (bc4f8ef)
Bug Fixes
  • api: encode Realtime call offers and session configuration (#3736) (555ac48)
  • apply consistent origin checks to WebSocket redirects (#3693) (1b324d0)
  • azure: encode deployment names consistently (#3683) (689538d)
  • azure: keep provider validation errors value-free (#3691) (72529c0)
  • azure: resolve one authentication mode (#3689) (e3d0681)
  • compute custom-code summaries from trusted workflow code (#3692) (2b5868d)
  • create upload example fixtures in private directories (#3686) (f36e6f7)
  • decode SSE incrementally without limiting event size (#3687) (2598d53)
  • keep Python SDK diagnostics metadata-only (#3685) (600aa8d)
  • Preserve Azure authentication boundaries across transports (#3684) (06ef57c)
  • preserve the configured TLS hostname (#3694) (aa5fbc4)
  • preserve WebSocket send queue byte accounting during flush (#3688) (96f966d)
Chores
  • api: Clarify image background docs and preview support (#3703) (bedb9a7)
  • api: document supported image generation models (#3695) (8edd9ae)
  • api: move chat validation tests out of generated code (#3698) (9d3ba20)
  • api: move webhook tests out of generated code (#3700) (04ecb3c)
  • api: remove redundant generated formatting (#3696) (5ac1e03)
  • api: remove redundant generated test edits (#3697) (351ef84)
  • api: Update SDK generation metadata only (#3716) (e43b422)
  • set a ceiling for Python SDK customization (#3714) (04d5d79)
Documentation
  • api: restore generated ChatKit API index (#3705) (4534106)
  • standardize Python SDK vulnerability disclosure policy (#3642) (1fc0a21)
Refactors
  • api: isolate audio response format selection (#3701) (ece4324)
  • api: isolate vector-store polling helpers (#3713) (a002ef3)
  • api: move file processing polling into SDK-owned helpers (#3712) (5f20c51)
  • api: share embedding response decoding (#3699) (50de9af)
  • api: share webhook signature verification (#3704) (e14ac34)
View original

Upgraded? How did it go?

Discussion