@ai-sdk/openai 2.0.45 → 2.0.46
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 +3 -3
package/dist/internal/index.mjs
CHANGED
|
@@ -445,13 +445,15 @@ var openaiChatLanguageModelOptions = lazyValidator2(
|
|
|
445
445
|
structuredOutputs: z3.boolean().optional(),
|
|
446
446
|
/**
|
|
447
447
|
* Service tier for the request.
|
|
448
|
-
* - 'auto': Default service tier
|
|
448
|
+
* - 'auto': Default service tier. The request will be processed with the service tier configured in the
|
|
449
|
+
* Project settings. Unless otherwise configured, the Project will use 'default'.
|
|
449
450
|
* - 'flex': 50% cheaper processing at the cost of increased latency. Only available for o3 and o4-mini models.
|
|
450
451
|
* - 'priority': Higher-speed processing with predictably low latency at premium cost. Available for Enterprise customers.
|
|
452
|
+
* - 'default': The request will be processed with the standard pricing and performance for the selected model.
|
|
451
453
|
*
|
|
452
454
|
* @default 'auto'
|
|
453
455
|
*/
|
|
454
|
-
serviceTier: z3.enum(["auto", "flex", "priority"]).optional(),
|
|
456
|
+
serviceTier: z3.enum(["auto", "flex", "priority", "default"]).optional(),
|
|
455
457
|
/**
|
|
456
458
|
* Whether to use strict JSON schema validation.
|
|
457
459
|
*
|
|
@@ -2986,7 +2988,7 @@ var openaiResponsesProviderOptionsSchema = lazyValidator12(
|
|
|
2986
2988
|
reasoningEffort: z15.string().nullish(),
|
|
2987
2989
|
reasoningSummary: z15.string().nullish(),
|
|
2988
2990
|
safetyIdentifier: z15.string().nullish(),
|
|
2989
|
-
serviceTier: z15.enum(["auto", "flex", "priority"]).nullish(),
|
|
2991
|
+
serviceTier: z15.enum(["auto", "flex", "priority", "default"]).nullish(),
|
|
2990
2992
|
store: z15.boolean().nullish(),
|
|
2991
2993
|
strictJsonSchema: z15.boolean().nullish(),
|
|
2992
2994
|
textVerbosity: z15.enum(["low", "medium", "high"]).nullish(),
|