openai/openai-java v4.91.0
openai/openai-java
Captured source
source ↗published Oct 23, 2026seen 1dcaptured 1dhttp 200method plain
v4.91.0
Repository: openai/openai-java
Tag: v4.91.0
Published: 2026-10-23T05:28:56Z
Prerelease: no
Release notes:
4.91.0 (2026-10-23)
Features
- api: Breaking change in a minor release. Live Decisions question
instructions()now returns anInstructionsunion containing a string or a list of text, image, or JSON parts. Code such asquestion.instructions().trim()no longer compiles; checkinstructions.isString()and useinstructions.asString(), or handleinstructions.asDecisionQuestionInputParts(). String inputs still work withinstructions(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, andDecisionInputMessage.Contentwere removed. Build a role-specific message, wrap it withDecisionInputMessage.ofUser(...)for user messages, and pass it throughDecisionInputItem.ofDecisionInputMessage(...). (f7607c8)
Chores
- api: align initial policy-pin review with active main (#1271) (1599b41)
- refresh custom-code enforcement tooling (#1270) (d865378)