Skip to content

v4.91.0

Latest

Choose a tag to compare

@openai-sdks openai-sdks released this 23 Oct 05:28
0ce5f3f

4.91.0 (2026-10-23)

Features

  • api: Breaking change in a minor release. Live Decisions question instructions() now returns an Instructions union containing a string or a list of text, image, or JSON parts. Code such as question.instructions().trim() no longer compiles; check instructions.isString() and use instructions.asString(), or handle instructions.asDecisionQuestionInputParts(). String inputs still work with instructions(String). Decisions request inputs also support additional message roles and tool-history items; update code that assumes a fixed set of input types. DecisionInputMessage.builder(), DecisionInputMessage.Type, and DecisionInputMessage.Content were removed. Build a role-specific message, wrap it with DecisionInputMessage.ofUser(...) for user messages, and pass it through DecisionInputItem.ofDecisionInputMessage(...). (f7607c8)

Chores

  • api: align initial policy-pin review with active main (#1271) (1599b41)
  • refresh custom-code enforcement tooling (#1270) (d865378)

Build System

  • bump actions/download-artifact from 8.0.1 to 8.0.2 (#1232) (65bd9e4)