@ai-sdk/openai 2.0.0-beta.14 → 2.0.0-beta.16
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 +16 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +1 -0
- package/dist/internal/index.d.ts +1 -0
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -216,6 +216,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
216
216
|
}>>>;
|
|
217
217
|
include: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
218
218
|
"reasoning.encrypted_content": "reasoning.encrypted_content";
|
|
219
|
+
"file_search_call.results": "file_search_call.results";
|
|
219
220
|
}>>>>;
|
|
220
221
|
}, z.core.$strip>;
|
|
221
222
|
type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -216,6 +216,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
216
216
|
}>>>;
|
|
217
217
|
include: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
218
218
|
"reasoning.encrypted_content": "reasoning.encrypted_content";
|
|
219
|
+
"file_search_call.results": "file_search_call.results";
|
|
219
220
|
}>>>>;
|
|
220
221
|
}, z.core.$strip>;
|
|
221
222
|
type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
|
package/dist/internal/index.js
CHANGED
|
@@ -371,7 +371,7 @@ var fileSearchArgsSchema = import_v43.z.object({
|
|
|
371
371
|
* Ranking options for the search.
|
|
372
372
|
*/
|
|
373
373
|
ranking: import_v43.z.object({
|
|
374
|
-
ranker: import_v43.z.enum(["auto", "
|
|
374
|
+
ranker: import_v43.z.enum(["auto", "default-2024-08-21"]).optional()
|
|
375
375
|
}).optional(),
|
|
376
376
|
/**
|
|
377
377
|
* A filter to apply based on file attributes.
|
|
@@ -3182,7 +3182,7 @@ var openaiResponsesProviderOptionsSchema = import_v415.z.object({
|
|
|
3182
3182
|
instructions: import_v415.z.string().nullish(),
|
|
3183
3183
|
reasoningSummary: import_v415.z.string().nullish(),
|
|
3184
3184
|
serviceTier: import_v415.z.enum(["auto", "flex", "priority"]).nullish(),
|
|
3185
|
-
include: import_v415.z.array(import_v415.z.enum(["reasoning.encrypted_content"])).nullish()
|
|
3185
|
+
include: import_v415.z.array(import_v415.z.enum(["reasoning.encrypted_content", "file_search_call.results"])).nullish()
|
|
3186
3186
|
});
|
|
3187
3187
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3188
3188
|
0 && (module.exports = {
|