@ai-sdk/openai 1.3.2 → 1.3.3
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 +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/internal/dist/index.d.mts +3 -0
- package/internal/dist/index.d.ts +3 -0
- package/internal/dist/index.js +3 -1
- package/internal/dist/index.js.map +1 -1
- package/internal/dist/index.mjs +3 -1
- package/internal/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -265,6 +265,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
265
265
|
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
266
266
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
267
267
|
strictSchemas: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
268
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
268
269
|
}, "strip", z.ZodTypeAny, {
|
|
269
270
|
user?: string | null | undefined;
|
|
270
271
|
store?: boolean | null | undefined;
|
|
@@ -273,6 +274,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
273
274
|
parallelToolCalls?: boolean | null | undefined;
|
|
274
275
|
previousResponseId?: string | null | undefined;
|
|
275
276
|
strictSchemas?: boolean | null | undefined;
|
|
277
|
+
instructions?: string | null | undefined;
|
|
276
278
|
}, {
|
|
277
279
|
user?: string | null | undefined;
|
|
278
280
|
store?: boolean | null | undefined;
|
|
@@ -281,6 +283,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
281
283
|
parallelToolCalls?: boolean | null | undefined;
|
|
282
284
|
previousResponseId?: string | null | undefined;
|
|
283
285
|
strictSchemas?: boolean | null | undefined;
|
|
286
|
+
instructions?: string | null | undefined;
|
|
284
287
|
}>;
|
|
285
288
|
type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
|
|
286
289
|
|
package/internal/dist/index.d.ts
CHANGED
|
@@ -265,6 +265,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
265
265
|
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
266
266
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
267
267
|
strictSchemas: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
268
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
268
269
|
}, "strip", z.ZodTypeAny, {
|
|
269
270
|
user?: string | null | undefined;
|
|
270
271
|
store?: boolean | null | undefined;
|
|
@@ -273,6 +274,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
273
274
|
parallelToolCalls?: boolean | null | undefined;
|
|
274
275
|
previousResponseId?: string | null | undefined;
|
|
275
276
|
strictSchemas?: boolean | null | undefined;
|
|
277
|
+
instructions?: string | null | undefined;
|
|
276
278
|
}, {
|
|
277
279
|
user?: string | null | undefined;
|
|
278
280
|
store?: boolean | null | undefined;
|
|
@@ -281,6 +283,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
281
283
|
parallelToolCalls?: boolean | null | undefined;
|
|
282
284
|
previousResponseId?: string | null | undefined;
|
|
283
285
|
strictSchemas?: boolean | null | undefined;
|
|
286
|
+
instructions?: string | null | undefined;
|
|
284
287
|
}>;
|
|
285
288
|
type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
|
|
286
289
|
|
package/internal/dist/index.js
CHANGED
|
@@ -1910,6 +1910,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
1910
1910
|
previous_response_id: openaiOptions == null ? void 0 : openaiOptions.previousResponseId,
|
|
1911
1911
|
store: openaiOptions == null ? void 0 : openaiOptions.store,
|
|
1912
1912
|
user: openaiOptions == null ? void 0 : openaiOptions.user,
|
|
1913
|
+
instructions: openaiOptions == null ? void 0 : openaiOptions.instructions,
|
|
1913
1914
|
// model-specific settings:
|
|
1914
1915
|
...modelConfig.isReasoningModel && (openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) != null && {
|
|
1915
1916
|
reasoning: { effort: openaiOptions == null ? void 0 : openaiOptions.reasoningEffort }
|
|
@@ -2381,7 +2382,8 @@ var openaiResponsesProviderOptionsSchema = import_zod6.z.object({
|
|
|
2381
2382
|
store: import_zod6.z.boolean().nullish(),
|
|
2382
2383
|
user: import_zod6.z.string().nullish(),
|
|
2383
2384
|
reasoningEffort: import_zod6.z.string().nullish(),
|
|
2384
|
-
strictSchemas: import_zod6.z.boolean().nullish()
|
|
2385
|
+
strictSchemas: import_zod6.z.boolean().nullish(),
|
|
2386
|
+
instructions: import_zod6.z.string().nullish()
|
|
2385
2387
|
});
|
|
2386
2388
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2387
2389
|
0 && (module.exports = {
|