@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
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -302,6 +302,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
302
302
|
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
303
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
304
|
strictSchemas: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
305
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
306
|
}, "strip", z.ZodTypeAny, {
|
|
306
307
|
user?: string | null | undefined;
|
|
307
308
|
store?: boolean | null | undefined;
|
|
@@ -310,6 +311,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
310
311
|
parallelToolCalls?: boolean | null | undefined;
|
|
311
312
|
previousResponseId?: string | null | undefined;
|
|
312
313
|
strictSchemas?: boolean | null | undefined;
|
|
314
|
+
instructions?: string | null | undefined;
|
|
313
315
|
}, {
|
|
314
316
|
user?: string | null | undefined;
|
|
315
317
|
store?: boolean | null | undefined;
|
|
@@ -318,6 +320,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
318
320
|
parallelToolCalls?: boolean | null | undefined;
|
|
319
321
|
previousResponseId?: string | null | undefined;
|
|
320
322
|
strictSchemas?: boolean | null | undefined;
|
|
323
|
+
instructions?: string | null | undefined;
|
|
321
324
|
}>;
|
|
322
325
|
type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
|
|
323
326
|
|
package/dist/index.d.ts
CHANGED
|
@@ -302,6 +302,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
302
302
|
user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
303
303
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
304
304
|
strictSchemas: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
305
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
306
|
}, "strip", z.ZodTypeAny, {
|
|
306
307
|
user?: string | null | undefined;
|
|
307
308
|
store?: boolean | null | undefined;
|
|
@@ -310,6 +311,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
310
311
|
parallelToolCalls?: boolean | null | undefined;
|
|
311
312
|
previousResponseId?: string | null | undefined;
|
|
312
313
|
strictSchemas?: boolean | null | undefined;
|
|
314
|
+
instructions?: string | null | undefined;
|
|
313
315
|
}, {
|
|
314
316
|
user?: string | null | undefined;
|
|
315
317
|
store?: boolean | null | undefined;
|
|
@@ -318,6 +320,7 @@ declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
|
|
|
318
320
|
parallelToolCalls?: boolean | null | undefined;
|
|
319
321
|
previousResponseId?: string | null | undefined;
|
|
320
322
|
strictSchemas?: boolean | null | undefined;
|
|
323
|
+
instructions?: string | null | undefined;
|
|
321
324
|
}>;
|
|
322
325
|
type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
|
|
323
326
|
|
package/dist/index.js
CHANGED
|
@@ -1909,6 +1909,7 @@ var OpenAIResponsesLanguageModel = class {
|
|
|
1909
1909
|
previous_response_id: openaiOptions == null ? void 0 : openaiOptions.previousResponseId,
|
|
1910
1910
|
store: openaiOptions == null ? void 0 : openaiOptions.store,
|
|
1911
1911
|
user: openaiOptions == null ? void 0 : openaiOptions.user,
|
|
1912
|
+
instructions: openaiOptions == null ? void 0 : openaiOptions.instructions,
|
|
1912
1913
|
// model-specific settings:
|
|
1913
1914
|
...modelConfig.isReasoningModel && (openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) != null && {
|
|
1914
1915
|
reasoning: { effort: openaiOptions == null ? void 0 : openaiOptions.reasoningEffort }
|
|
@@ -2380,7 +2381,8 @@ var openaiResponsesProviderOptionsSchema = import_zod6.z.object({
|
|
|
2380
2381
|
store: import_zod6.z.boolean().nullish(),
|
|
2381
2382
|
user: import_zod6.z.string().nullish(),
|
|
2382
2383
|
reasoningEffort: import_zod6.z.string().nullish(),
|
|
2383
|
-
strictSchemas: import_zod6.z.boolean().nullish()
|
|
2384
|
+
strictSchemas: import_zod6.z.boolean().nullish(),
|
|
2385
|
+
instructions: import_zod6.z.string().nullish()
|
|
2384
2386
|
});
|
|
2385
2387
|
|
|
2386
2388
|
// src/openai-tools.ts
|