openai 7.1.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1228,15 +1228,19 @@ export interface Response {
1228
1228
  * will use 'default'.
1229
1229
  * - If set to 'default', then the request will be processed with the standard
1230
1230
  * pricing and performance for the selected model.
1231
- * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or
1232
- * '[priority](https://openai.com/api-priority-processing/)', then the request
1233
- * will be processed with the corresponding service tier.
1231
+ * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)',
1232
+ * then the request will be processed with the Flex Processing service tier.
1233
+ * - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level,
1234
+ * include the `service_tier=fast` or `service_tier=priority` parameter for
1235
+ * Responses or Chat Completions. The response will show `service_tier=priority`
1236
+ * regardless of if you specify `service_tier=fast` or `priority` in your
1237
+ * request.
1234
1238
  * - When not set, the default behavior is 'auto'.
1235
1239
  *
1236
1240
  * When this parameter is set, the response body will include the `service_tier`
1237
1241
  * utilized.
1238
1242
  */
1239
- service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null;
1243
+ service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | 'fast' | null;
1240
1244
 
1241
1245
  /**
1242
1246
  * The status of the response generation. One of `completed`, `failed`,
@@ -7552,9 +7556,13 @@ export interface ResponsesClientEvent {
7552
7556
  * will use 'default'.
7553
7557
  * - If set to 'default', then the request will be processed with the standard
7554
7558
  * pricing and performance for the selected model.
7555
- * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or
7556
- * '[priority](https://openai.com/api-priority-processing/)', then the request
7557
- * will be processed with the corresponding service tier.
7559
+ * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)',
7560
+ * then the request will be processed with the Flex Processing service tier.
7561
+ * - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level,
7562
+ * include the `service_tier=fast` or `service_tier=priority` parameter for
7563
+ * Responses or Chat Completions. The response will show `service_tier=priority`
7564
+ * regardless of if you specify `service_tier=fast` or `priority` in your
7565
+ * request.
7558
7566
  * - When not set, the default behavior is 'auto'.
7559
7567
  *
7560
7568
  * When the `service_tier` parameter is set, the response body will include the
@@ -7562,7 +7570,7 @@ export interface ResponsesClientEvent {
7562
7570
  * request. This response value may be different from the value set in the
7563
7571
  * parameter.
7564
7572
  */
7565
- service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null;
7573
+ service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | 'fast' | null;
7566
7574
 
7567
7575
  /**
7568
7576
  * Whether to store the generated model response for later retrieval via API.
@@ -8742,15 +8750,19 @@ export interface ResponseCreateParamsBase {
8742
8750
  * will use 'default'.
8743
8751
  * - If set to 'default', then the request will be processed with the standard
8744
8752
  * pricing and performance for the selected model.
8745
- * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)' or
8746
- * '[priority](https://openai.com/api-priority-processing/)', then the request
8747
- * will be processed with the corresponding service tier.
8753
+ * - If set to '[flex](https://platform.openai.com/docs/guides/flex-processing)',
8754
+ * then the request will be processed with the Flex Processing service tier.
8755
+ * - To opt-in to [Fast mode](/api/docs/guides/fast-mode) at the request level,
8756
+ * include the `service_tier=fast` or `service_tier=priority` parameter for
8757
+ * Responses or Chat Completions. The response will show `service_tier=priority`
8758
+ * regardless of if you specify `service_tier=fast` or `priority` in your
8759
+ * request.
8748
8760
  * - When not set, the default behavior is 'auto'.
8749
8761
  *
8750
8762
  * When this parameter is set, the response body will include the `service_tier`
8751
8763
  * utilized.
8752
8764
  */
8753
- service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | null;
8765
+ service_tier?: 'auto' | 'default' | 'flex' | 'scale' | 'priority' | 'fast' | null;
8754
8766
 
8755
8767
  /**
8756
8768
  * Whether to store the generated model response for later retrieval via API.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '7.1.0'; // x-release-please-version
1
+ export const VERSION = '7.2.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.1.0";
1
+ export declare const VERSION = "7.2.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "7.1.0";
1
+ export declare const VERSION = "7.2.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '7.1.0'; // x-release-please-version
4
+ exports.VERSION = '7.2.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '7.1.0'; // x-release-please-version
1
+ export const VERSION = '7.2.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map