@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
package/dist/index.mjs
CHANGED
|
@@ -457,13 +457,15 @@ var openaiChatLanguageModelOptions = lazyValidator2(
|
|
|
457
457
|
structuredOutputs: z3.boolean().optional(),
|
|
458
458
|
/**
|
|
459
459
|
* Service tier for the request.
|
|
460
|
-
* - 'auto': Default service tier
|
|
460
|
+
* - 'auto': Default service tier. The request will be processed with the service tier configured in the
|
|
461
|
+
* Project settings. Unless otherwise configured, the Project will use 'default'.
|
|
461
462
|
* - 'flex': 50% cheaper processing at the cost of increased latency. Only available for o3 and o4-mini models.
|
|
462
463
|
* - 'priority': Higher-speed processing with predictably low latency at premium cost. Available for Enterprise customers.
|
|
464
|
+
* - 'default': The request will be processed with the standard pricing and performance for the selected model.
|
|
463
465
|
*
|
|
464
466
|
* @default 'auto'
|
|
465
467
|
*/
|
|
466
|
-
serviceTier: z3.enum(["auto", "flex", "priority"]).optional(),
|
|
468
|
+
serviceTier: z3.enum(["auto", "flex", "priority", "default"]).optional(),
|
|
467
469
|
/**
|
|
468
470
|
* Whether to use strict JSON schema validation.
|
|
469
471
|
*
|
|
@@ -2976,7 +2978,7 @@ var openaiResponsesProviderOptionsSchema = lazyValidator9(
|
|
|
2976
2978
|
reasoningEffort: z17.string().nullish(),
|
|
2977
2979
|
reasoningSummary: z17.string().nullish(),
|
|
2978
2980
|
safetyIdentifier: z17.string().nullish(),
|
|
2979
|
-
serviceTier: z17.enum(["auto", "flex", "priority"]).nullish(),
|
|
2981
|
+
serviceTier: z17.enum(["auto", "flex", "priority", "default"]).nullish(),
|
|
2980
2982
|
store: z17.boolean().nullish(),
|
|
2981
2983
|
strictJsonSchema: z17.boolean().nullish(),
|
|
2982
2984
|
textVerbosity: z17.enum(["low", "medium", "high"]).nullish(),
|
|
@@ -4503,7 +4505,7 @@ var OpenAITranscriptionModel = class {
|
|
|
4503
4505
|
};
|
|
4504
4506
|
|
|
4505
4507
|
// src/version.ts
|
|
4506
|
-
var VERSION = true ? "3.0.0-beta.
|
|
4508
|
+
var VERSION = true ? "3.0.0-beta.19" : "0.0.0-test";
|
|
4507
4509
|
|
|
4508
4510
|
// src/openai-provider.ts
|
|
4509
4511
|
function createOpenAI(options = {}) {
|