@ai-sdk/openai 3.0.0-beta.18 → 3.0.0-beta.19
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 +6 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +5 -3
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +5 -3
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ declare const openaiChatLanguageModelOptions: _ai_sdk_provider_utils.LazyValidat
|
|
|
14
14
|
metadata?: Record<string, string> | undefined;
|
|
15
15
|
prediction?: Record<string, any> | undefined;
|
|
16
16
|
structuredOutputs?: boolean | undefined;
|
|
17
|
-
serviceTier?: "auto" | "flex" | "priority" | undefined;
|
|
17
|
+
serviceTier?: "default" | "auto" | "flex" | "priority" | undefined;
|
|
18
18
|
strictJsonSchema?: boolean | undefined;
|
|
19
19
|
textVerbosity?: "low" | "medium" | "high" | undefined;
|
|
20
20
|
promptCacheKey?: string | undefined;
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const openaiChatLanguageModelOptions: _ai_sdk_provider_utils.LazyValidat
|
|
|
14
14
|
metadata?: Record<string, string> | undefined;
|
|
15
15
|
prediction?: Record<string, any> | undefined;
|
|
16
16
|
structuredOutputs?: boolean | undefined;
|
|
17
|
-
serviceTier?: "auto" | "flex" | "priority" | undefined;
|
|
17
|
+
serviceTier?: "default" | "auto" | "flex" | "priority" | undefined;
|
|
18
18
|
strictJsonSchema?: boolean | undefined;
|
|
19
19
|
textVerbosity?: "low" | "medium" | "high" | undefined;
|
|
20
20
|
promptCacheKey?: string | undefined;
|
package/dist/internal/index.js
CHANGED
|
@@ -491,13 +491,15 @@ var openaiChatLanguageModelOptions = (0, import_provider_utils4.lazyValidator)(
|
|
|
491
491
|
structuredOutputs: z3.boolean().optional(),
|
|
492
492
|
/**
|
|
493
493
|
* Service tier for the request.
|
|
494
|
-
* - 'auto': Default service tier
|
|
494
|
+
* - 'auto': Default service tier. The request will be processed with the service tier configured in the
|
|
495
|
+
* Project settings. Unless otherwise configured, the Project will use 'default'.
|
|
495
496
|
* - 'flex': 50% cheaper processing at the cost of increased latency. Only available for o3 and o4-mini models.
|
|
496
497
|
* - 'priority': Higher-speed processing with predictably low latency at premium cost. Available for Enterprise customers.
|
|
498
|
+
* - 'default': The request will be processed with the standard pricing and performance for the selected model.
|
|
497
499
|
*
|
|
498
500
|
* @default 'auto'
|
|
499
501
|
*/
|
|
500
|
-
serviceTier: z3.enum(["auto", "flex", "priority"]).optional(),
|
|
502
|
+
serviceTier: z3.enum(["auto", "flex", "priority", "default"]).optional(),
|
|
501
503
|
/**
|
|
502
504
|
* Whether to use strict JSON schema validation.
|
|
503
505
|
*
|
|
@@ -2961,7 +2963,7 @@ var openaiResponsesProviderOptionsSchema = (0, import_provider_utils22.lazyValid
|
|
|
2961
2963
|
reasoningEffort: z15.string().nullish(),
|
|
2962
2964
|
reasoningSummary: z15.string().nullish(),
|
|
2963
2965
|
safetyIdentifier: z15.string().nullish(),
|
|
2964
|
-
serviceTier: z15.enum(["auto", "flex", "priority"]).nullish(),
|
|
2966
|
+
serviceTier: z15.enum(["auto", "flex", "priority", "default"]).nullish(),
|
|
2965
2967
|
store: z15.boolean().nullish(),
|
|
2966
2968
|
strictJsonSchema: z15.boolean().nullish(),
|
|
2967
2969
|
textVerbosity: z15.enum(["low", "medium", "high"]).nullish(),
|