@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/index.mjs
CHANGED
|
@@ -453,13 +453,15 @@ var openaiChatLanguageModelOptions = lazyValidator2(
|
|
|
453
453
|
structuredOutputs: z3.boolean().optional(),
|
|
454
454
|
/**
|
|
455
455
|
* Service tier for the request.
|
|
456
|
-
* - 'auto': Default service tier
|
|
456
|
+
* - 'auto': Default service tier. The request will be processed with the service tier configured in the
|
|
457
|
+
* Project settings. Unless otherwise configured, the Project will use 'default'.
|
|
457
458
|
* - 'flex': 50% cheaper processing at the cost of increased latency. Only available for o3 and o4-mini models.
|
|
458
459
|
* - 'priority': Higher-speed processing with predictably low latency at premium cost. Available for Enterprise customers.
|
|
460
|
+
* - 'default': The request will be processed with the standard pricing and performance for the selected model.
|
|
459
461
|
*
|
|
460
462
|
* @default 'auto'
|
|
461
463
|
*/
|
|
462
|
-
serviceTier: z3.enum(["auto", "flex", "priority"]).optional(),
|
|
464
|
+
serviceTier: z3.enum(["auto", "flex", "priority", "default"]).optional(),
|
|
463
465
|
/**
|
|
464
466
|
* Whether to use strict JSON schema validation.
|
|
465
467
|
*
|
|
@@ -2964,7 +2966,7 @@ var openaiResponsesProviderOptionsSchema = lazyValidator9(
|
|
|
2964
2966
|
reasoningEffort: z17.string().nullish(),
|
|
2965
2967
|
reasoningSummary: z17.string().nullish(),
|
|
2966
2968
|
safetyIdentifier: z17.string().nullish(),
|
|
2967
|
-
serviceTier: z17.enum(["auto", "flex", "priority"]).nullish(),
|
|
2969
|
+
serviceTier: z17.enum(["auto", "flex", "priority", "default"]).nullish(),
|
|
2968
2970
|
store: z17.boolean().nullish(),
|
|
2969
2971
|
strictJsonSchema: z17.boolean().nullish(),
|
|
2970
2972
|
textVerbosity: z17.enum(["low", "medium", "high"]).nullish(),
|
|
@@ -4476,7 +4478,7 @@ var OpenAITranscriptionModel = class {
|
|
|
4476
4478
|
};
|
|
4477
4479
|
|
|
4478
4480
|
// src/version.ts
|
|
4479
|
-
var VERSION = true ? "2.0.
|
|
4481
|
+
var VERSION = true ? "2.0.46" : "0.0.0-test";
|
|
4480
4482
|
|
|
4481
4483
|
// src/openai-provider.ts
|
|
4482
4484
|
function createOpenAI(options = {}) {
|