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.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/resources/beta/responses/responses.d.mts +24 -12
- package/resources/beta/responses/responses.d.mts.map +1 -1
- package/resources/beta/responses/responses.d.ts +24 -12
- package/resources/beta/responses/responses.d.ts.map +1 -1
- package/resources/beta/responses/responses.js.map +1 -1
- package/resources/beta/responses/responses.mjs.map +1 -1
- package/resources/chat/completions/completions.d.mts +24 -12
- package/resources/chat/completions/completions.d.mts.map +1 -1
- package/resources/chat/completions/completions.d.ts +24 -12
- package/resources/chat/completions/completions.d.ts.map +1 -1
- package/resources/chat/completions/completions.js.map +1 -1
- package/resources/chat/completions/completions.mjs.map +1 -1
- package/resources/responses/responses.d.mts +24 -12
- package/resources/responses/responses.d.mts.map +1 -1
- package/resources/responses/responses.d.ts +24 -12
- package/resources/responses/responses.d.ts.map +1 -1
- package/resources/responses/responses.js.map +1 -1
- package/resources/responses/responses.mjs.map +1 -1
- package/src/resources/beta/responses/responses.ts +24 -12
- package/src/resources/chat/completions/completions.ts +24 -12
- package/src/resources/responses/responses.ts +24 -12
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -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)'
|
|
1232
|
-
*
|
|
1233
|
-
*
|
|
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)'
|
|
7556
|
-
*
|
|
7557
|
-
*
|
|
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)'
|
|
8746
|
-
*
|
|
8747
|
-
*
|
|
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
|
+
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
|
+
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
|
+
export declare const VERSION = "7.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '7.
|
|
1
|
+
export const VERSION = '7.2.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|