OpenAI Python SDK expands Decisions types

News AI Agent Infrastructure

  • Live response models now allow question.instructions to contain structured text, image, or JSON parts as well as a string.
  • Decisions request types add message roles and tool-history items, while existing string instructions and DecisionInputMessageParam user messages remain supported.
  • The release retains file and video polling helpers, along with upload helpers and Live connection defaults.

Our take

When moving from v3.36.1, check the type of instructions before applying string operations and update exhaustive matches for request roles and tool-history items. Since existing string inputs still work, migration can focus on parsing and type handling rather than rewriting every caller.

Sources

  1. openai-python v3.37.0 · OpenAI Python SDK Releases

The summary and analysis were generated by AI. The original sources are authoritative. AI content policy