Skip to content

Commit e5974fd

Browse files
authored
Merge pull request #1720 from openai/release-please--branches--master--changes--next--components--openai
release: 6.12.0
2 parents 4330e1d + 174c27b commit e5974fd

File tree

14 files changed

+49
-29
lines changed

14 files changed

+49
-29
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "6.11.0"
2+
".": "6.12.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 136
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-88d85ff87ad8983262af2b729762a6e05fd509468bb691529bc2f81e4ce27c69.yml
3-
openapi_spec_hash: 46a55acbccd0147534017b92c1f4dd99
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-41f98da99f44ebe6204fce5c1dc9940f85f3472779e797b674c4fdc20306c77d.yml
3+
openapi_spec_hash: c61259027f421f501bdc6b23cf9e430e
44
config_hash: 141b101c9f13b90e21af74e1686f1f41

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 6.12.0 (2025-12-11)
4+
5+
Full Changelog: [v6.11.0...v6.12.0](https://github.com/openai/openai-node/compare/v6.11.0...v6.12.0)
6+
7+
### Features
8+
9+
* **api:** gpt 5.2 ([7000ddb](https://github.com/openai/openai-node/commit/7000ddb09ad4e272f43fe0d70cb1f6e5ca9ff725))
10+
311
## 6.11.0 (2025-12-10)
412

513
Full Changelog: [v6.10.0...v6.11.0](https://github.com/openai/openai-node/compare/v6.10.0...v6.11.0)

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openai/openai",
3-
"version": "6.11.0",
3+
"version": "6.12.0",
44
"exports": {
55
".": "./index.ts",
66
"./helpers/zod": "./helpers/zod.ts",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openai",
3-
"version": "6.11.0",
3+
"version": "6.12.0",
44
"description": "The official TypeScript library for the OpenAI API",
55
"author": "OpenAI <[email protected]>",
66
"types": "dist/index.d.ts",

src/resources/beta/assistants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ export interface AssistantCreateParams {
11701170
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
11711171
* support `none`.
11721172
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1173-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1173+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
11741174
*/
11751175
reasoning_effort?: Shared.ReasoningEffort | null;
11761176

@@ -1431,7 +1431,7 @@ export interface AssistantUpdateParams {
14311431
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
14321432
* support `none`.
14331433
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1434-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1434+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
14351435
*/
14361436
reasoning_effort?: Shared.ReasoningEffort | null;
14371437

src/resources/beta/threads/runs/runs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ export interface RunCreateParamsBase {
735735
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
736736
* support `none`.
737737
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
738-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
738+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
739739
*/
740740
reasoning_effort?: Shared.ReasoningEffort | null;
741741

src/resources/chat/completions/completions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1659,7 +1659,7 @@ export interface ChatCompletionCreateParamsBase {
16591659
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
16601660
* support `none`.
16611661
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1662-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1662+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
16631663
*/
16641664
reasoning_effort?: Shared.ReasoningEffort | null;
16651665

src/resources/evals/runs/runs.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ export namespace CreateEvalCompletionsRunDataSource {
298298
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
299299
* support `none`.
300300
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
301-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
301+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
302302
*/
303303
reasoning_effort?: Shared.ReasoningEffort | null;
304304

@@ -607,7 +607,7 @@ export namespace RunCreateResponse {
607607
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
608608
* support `none`.
609609
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
610-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
610+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
611611
*/
612612
reasoning_effort?: Shared.ReasoningEffort | null;
613613

@@ -759,7 +759,7 @@ export namespace RunCreateResponse {
759759
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
760760
* support `none`.
761761
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
762-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
762+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
763763
*/
764764
reasoning_effort?: Shared.ReasoningEffort | null;
765765

@@ -1109,7 +1109,7 @@ export namespace RunRetrieveResponse {
11091109
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
11101110
* support `none`.
11111111
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1112-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1112+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
11131113
*/
11141114
reasoning_effort?: Shared.ReasoningEffort | null;
11151115

@@ -1261,7 +1261,7 @@ export namespace RunRetrieveResponse {
12611261
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
12621262
* support `none`.
12631263
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1264-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1264+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
12651265
*/
12661266
reasoning_effort?: Shared.ReasoningEffort | null;
12671267

@@ -1608,7 +1608,7 @@ export namespace RunListResponse {
16081608
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
16091609
* support `none`.
16101610
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1611-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1611+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
16121612
*/
16131613
reasoning_effort?: Shared.ReasoningEffort | null;
16141614

@@ -1760,7 +1760,7 @@ export namespace RunListResponse {
17601760
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
17611761
* support `none`.
17621762
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
1763-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
1763+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
17641764
*/
17651765
reasoning_effort?: Shared.ReasoningEffort | null;
17661766

@@ -2118,7 +2118,7 @@ export namespace RunCancelResponse {
21182118
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
21192119
* support `none`.
21202120
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
2121-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
2121+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
21222122
*/
21232123
reasoning_effort?: Shared.ReasoningEffort | null;
21242124

@@ -2270,7 +2270,7 @@ export namespace RunCancelResponse {
22702270
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
22712271
* support `none`.
22722272
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
2273-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
2273+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
22742274
*/
22752275
reasoning_effort?: Shared.ReasoningEffort | null;
22762276

@@ -2567,7 +2567,7 @@ export namespace RunCreateParams {
25672567
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
25682568
* support `none`.
25692569
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
2570-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
2570+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
25712571
*/
25722572
reasoning_effort?: Shared.ReasoningEffort | null;
25732573

@@ -2719,7 +2719,7 @@ export namespace RunCreateParams {
27192719
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
27202720
* support `none`.
27212721
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
2722-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
2722+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
27232723
*/
27242724
reasoning_effort?: Shared.ReasoningEffort | null;
27252725

src/resources/graders/grader-models.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ export interface PythonGrader {
167167
*/
168168
export interface ScoreModelGrader {
169169
/**
170-
* The input text. This may include template strings.
170+
* The input messages evaluated by the grader. Supports text, output text, input
171+
* image, and input audio content blocks, and may include template strings.
171172
*/
172173
input: Array<ScoreModelGrader.Input>;
173174

@@ -289,7 +290,7 @@ export namespace ScoreModelGrader {
289290
* - All models before `gpt-5.1` default to `medium` reasoning effort, and do not
290291
* support `none`.
291292
* - The `gpt-5-pro` model defaults to (and only supports) `high` reasoning effort.
292-
* - `xhigh` is currently only supported for `gpt-5.1-codex-max`.
293+
* - `xhigh` is supported for all models after `gpt-5.1-codex-max`.
293294
*/
294295
reasoning_effort?: Shared.ReasoningEffort | null;
295296

0 commit comments

Comments
 (0)