OpenAI Python SDK v3.37.0

v3.37.0
Added 1
  • Expanded Decisions input and question types
Changed 5
  • Live response models: question instructions can now be a string or a list of structured text, image, or JSON parts, so callers must check isinstance(question.instructions, str) before using string operations signature changed · vendor-flagged, marked in the notes below
  • Decisions request input types now include additional message roles and tool-history items, so exhaustive type checks must be updated accordingly
  • Preserved file and video polling helpers
  • Preserved upload helpers and Live connection defaults
  • Bumped astral-sh/setup-uv from 10.2.0 to 10.3.0 in CI

1 change to check, marked in the notes below

From OpenAI Python SDK

3.37.0 (2026-10-22)
⚠ BREAKING CHANGES
  • api: This minor release includes a breaking change to Decisions types. In Live response models, question instructions can now be a string or a list of structured text, image, or JSON parts; check isinstance(question.instructions, str) before using string operations and handle the structured form. Decisions request input types also include additional message roles and tool-history items, so update exhaustive type checks accordingly. Existing string instructions and DecisionInputMessageParam user-message inputs remain supported. signature changed · vendor-flagged
Features
  • api: expand Decisions input and question types (#4158) (1e45ad1)
Chores
  • api: preserve file and video polling helpers (#4155) (7db9d88)
  • api: preserve upload helpers and Live connection defaults (#4152) (a29dc39)
  • deps: bump astral-sh/setup-uv from 10.2.0 to 10.3.0 (#4109) (fa9a161)
View original

Upgraded? How did it go?

Discussion