diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2777efed5..373179ef9 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "5.12.1" + ".": "5.12.2" } diff --git a/.stats.yml b/.stats.yml index 9c1b4e4c5..1c85ee4a0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 111 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-f5c45f4ae5c2075cbc603d6910bba3da31c23714c209fbd3fd82a94f634a126b.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-6a1bfd4738fff02ef5becc3fdb2bf0cd6c026f2c924d4147a2a515474477dd9a.yml openapi_spec_hash: 3eb8d86c06f0bb5e1190983e5acfc9ba -config_hash: 9a64321968e21ed72f5c0e02164ea00d +config_hash: a67c5e195a59855fe8a5db0dc61a3e7f diff --git a/CHANGELOG.md b/CHANGELOG.md index f5ee00f3c..61cb0a53e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.12.2 (2025-08-08) + +Full Changelog: [v5.12.1...v5.12.2](https://github.com/openai/openai-node/compare/v5.12.1...v5.12.2) + +### Bug Fixes + +* **client:** fix verbosity parameter location in Responses ([eaa246f](https://github.com/openai/openai-node/commit/eaa246ffe00ffcdec45c695a96aeed3d87bb3f74)) + ## 5.12.1 (2025-08-07) Full Changelog: [v5.12.0...v5.12.1](https://github.com/openai/openai-node/compare/v5.12.0...v5.12.1) diff --git a/jsr.json b/jsr.json index 7a808ad9d..b53af315c 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@openai/openai", - "version": "5.12.1", + "version": "5.12.2", "exports": { ".": "./index.ts", "./helpers/zod": "./helpers/zod.ts", diff --git a/package.json b/package.json index 9fc0ea6b8..3c0072eb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openai", - "version": "5.12.1", + "version": "5.12.2", "description": "The official TypeScript library for the OpenAI API", "author": "OpenAI ", "types": "dist/index.d.ts", diff --git a/src/resources/responses/responses.ts b/src/resources/responses/responses.ts index a63eb06d5..6cce0dc17 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -599,13 +599,6 @@ export interface Response { * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). */ user?: string; - - /** - * Constrains the verbosity of the model's response. Lower values will result in - * more concise responses, while higher values will result in more verbose - * responses. Currently supported values are `low`, `medium`, and `high`. - */ - verbosity?: 'low' | 'medium' | 'high' | null; } export namespace Response { @@ -4305,6 +4298,13 @@ export interface ResponseTextConfig { * preferred for models that support it. */ format?: ResponseFormatTextConfig; + + /** + * Constrains the verbosity of the model's response. Lower values will result in + * more concise responses, while higher values will result in more verbose + * responses. Currently supported values are `low`, `medium`, and `high`. + */ + verbosity?: 'low' | 'medium' | 'high' | null; } /** @@ -5248,13 +5248,6 @@ export interface ResponseCreateParamsBase { * [Learn more](https://platform.openai.com/docs/guides/safety-best-practices#safety-identifiers). */ user?: string; - - /** - * Constrains the verbosity of the model's response. Lower values will result in - * more concise responses, while higher values will result in more verbose - * responses. Currently supported values are `low`, `medium`, and `high`. - */ - verbosity?: 'low' | 'medium' | 'high' | null; } export namespace ResponseCreateParams { diff --git a/src/version.ts b/src/version.ts index f5b55c198..e2fff1943 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '5.12.1'; // x-release-please-version +export const VERSION = '5.12.2'; // x-release-please-version