From 0827c2c21c31f177f2c30efefe11bfa051f56507 Mon Sep 17 00:00:00 2001
From: "openai-sdks[bot]" <284451331+openai-sdks[bot]@users.noreply.github.com>
Date: Fri, 23 Oct 2026 04:48:28 +0000
Subject: [PATCH] release: 4.91.0
---
.release-please-manifest.json | 2 +-
CHANGELOG.md | 18 ++++++++++++++++++
CONTRIBUTING.md | 4 ++--
README.md | 6 +++---
bedrock.md | 4 ++--
build.gradle.kts | 2 +-
6 files changed, 27 insertions(+), 9 deletions(-)
diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 23d6d3766..c66fbe77c 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -1,3 +1,3 @@
{
- ".": "4.90.0"
+ ".": "4.91.0"
}
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 767ceb58c..1ec47de03 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,23 @@
# Changelog
+## [4.91.0](https://github.com/openai/openai-java/compare/v4.90.0...v4.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](https://github.com/openai/openai-java/commit/f7607c84edf39c5f962beb1b988b35207c46e289))
+
+
+### Chores
+
+* **api:** align initial policy-pin review with active main ([#1271](https://github.com/openai/openai-java/issues/1271)) ([1599b41](https://github.com/openai/openai-java/commit/1599b41cab0743a3543809cf3644678f570bd44a))
+* refresh custom-code enforcement tooling ([#1270](https://github.com/openai/openai-java/issues/1270)) ([d865378](https://github.com/openai/openai-java/commit/d8653786396518d29eaeb9ec112d5209ed148489))
+
+
+### Build System
+
+* bump actions/download-artifact from 8.0.1 to 8.0.2 ([#1232](https://github.com/openai/openai-java/issues/1232)) ([65bd9e4](https://github.com/openai/openai-java/commit/65bd9e403f8e7f576bf7de904ba7237b6142368f))
+
## [4.90.0](https://github.com/openai/openai-java/compare/v4.89.0...v4.90.0) (2026-10-22)
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8bc1e23d2..5f19e5588 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -131,14 +131,14 @@ Then in your project's `build.gradle.kts` or `pom.xml`, reference the locally pu
```kotlin
-implementation("com.openai:openai-java:4.90.0")
+implementation("com.openai:openai-java:4.91.0")
```
```xml
com.openai
openai-java
- 4.90.0
+ 4.91.0
```
diff --git a/README.md b/README.md
index 2187b8f65..9b2f719e6 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ The REST API documentation can be found on [platform.openai.com](https://platfor
### Gradle
```kotlin
-implementation("com.openai:openai-java:4.90.0")
+implementation("com.openai:openai-java:4.91.0")
```
### Maven
@@ -24,7 +24,7 @@ implementation("com.openai:openai-java:4.90.0")
com.openai
openai-java
- 4.90.0
+ 4.91.0
```
@@ -99,7 +99,7 @@ with normal AWS credentials:
```kotlin
-implementation("com.openai:openai-java-bedrock:4.90.0")
+implementation("com.openai:openai-java-bedrock:4.91.0")
```
diff --git a/bedrock.md b/bedrock.md
index d781408ca..edc5687d8 100644
--- a/bedrock.md
+++ b/bedrock.md
@@ -12,14 +12,14 @@ Use this artifact instead of adding AWS dependencies to the base OpenAI package
```kotlin
-implementation("com.openai:openai-java-bedrock:4.90.0")
+implementation("com.openai:openai-java-bedrock:4.91.0")
```
```xml
com.openai
openai-java-bedrock
- 4.90.0
+ 4.91.0
```
diff --git a/build.gradle.kts b/build.gradle.kts
index f7c81c9b3..17ec4c42c 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -49,7 +49,7 @@ repositories {
allprojects {
group = "com.openai"
- version = "4.90.0" // x-release-please-version
+ version = "4.91.0" // x-release-please-version
// Dokka 2.1.0 depends on Jackson 2.15.3 and jsoup 1.16.1. Keep its isolated build-tool
// classpaths on secure versions without changing the SDK's published or compatibility-test