Model BehaviorAutomated release watch

OpenAI Python SDK v3.37.0

OpenAI Python SDK v3.37.0 introduces a breaking change to Decisions types, expanding question instructions to include structured parts and adding message roles to input types.

Human read

Why this signal matters

OpenAI Python SDK version 3.37.0 has been released with breaking changes to Decisions types. In Live response models, question instructions are no longer strictly strings and can now be delivered as a list of structured text, image, or JSON parts. Callers performing string operations must verify the type using isinstance(question.instructions, str) and implement handling for the structured representation. Additionally, Decisions request inputs have been expanded to include more message roles and tool-history items, necessitating updates to exhaustive pattern matching or type checks. Existing string-based instructions and DecisionInputMessageParam user-message inputs remain supported.

Agent parse

Actionable summary

OpenAI Python SDK v3.37.0 introduces breaking changes to Decisions types. In Live response models, question.instructions can now be a list of structured text, image, or JSON parts in addition to a string. Request input types now support additional message roles and tool-history items.

Agent usefulness
94/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Update Live response handling to check isinstance(question.instructions, str) before string operations, and implement handling for structured text, image, or JSON parts.
  • Update exhaustive type checks and pattern matches on Decisions request input types to accommodate additional message roles and tool-history items.
Classification

Tags and routing

openaisdkmodels
Related signals

Continue the thread