@ai-sdk/openai 2.0.30 → 2.0.32

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.
@@ -216,33 +216,34 @@ declare class OpenAIResponsesLanguageModel implements LanguageModelV2 {
216
216
  doStream(options: Parameters<LanguageModelV2['doStream']>[0]): Promise<Awaited<ReturnType<LanguageModelV2['doStream']>>>;
217
217
  }
218
218
  declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
219
+ include: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
220
+ "file_search_call.results": "file_search_call.results";
221
+ "message.output_text.logprobs": "message.output_text.logprobs";
222
+ "reasoning.encrypted_content": "reasoning.encrypted_content";
223
+ }>>>>;
224
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ logprobs: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
226
+ maxToolCalls: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
219
227
  metadata: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
220
228
  parallelToolCalls: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
221
229
  previousResponseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
- store: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
223
- user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ promptCacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
231
  reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
- strictJsonSchema: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
226
- instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
232
  reasoningSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ safetyIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
234
  serviceTier: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
229
235
  auto: "auto";
230
236
  flex: "flex";
231
237
  priority: "priority";
232
238
  }>>>;
233
- include: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
234
- "file_search_call.results": "file_search_call.results";
235
- "message.output_text.logprobs": "message.output_text.logprobs";
236
- "reasoning.encrypted_content": "reasoning.encrypted_content";
237
- }>>>>;
239
+ store: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
240
+ strictJsonSchema: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
238
241
  textVerbosity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
239
242
  low: "low";
240
243
  medium: "medium";
241
244
  high: "high";
242
245
  }>>>;
243
- promptCacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
- safetyIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
- logprobs: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
246
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
247
  }, z.core.$strip>;
247
248
  type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
248
249
 
@@ -216,33 +216,34 @@ declare class OpenAIResponsesLanguageModel implements LanguageModelV2 {
216
216
  doStream(options: Parameters<LanguageModelV2['doStream']>[0]): Promise<Awaited<ReturnType<LanguageModelV2['doStream']>>>;
217
217
  }
218
218
  declare const openaiResponsesProviderOptionsSchema: z.ZodObject<{
219
+ include: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
220
+ "file_search_call.results": "file_search_call.results";
221
+ "message.output_text.logprobs": "message.output_text.logprobs";
222
+ "reasoning.encrypted_content": "reasoning.encrypted_content";
223
+ }>>>>;
224
+ instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ logprobs: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
226
+ maxToolCalls: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
219
227
  metadata: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
220
228
  parallelToolCalls: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
221
229
  previousResponseId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
222
- store: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
223
- user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
230
+ promptCacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
231
  reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
- strictJsonSchema: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
226
- instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
227
232
  reasoningSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
233
+ safetyIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
228
234
  serviceTier: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
229
235
  auto: "auto";
230
236
  flex: "flex";
231
237
  priority: "priority";
232
238
  }>>>;
233
- include: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
234
- "file_search_call.results": "file_search_call.results";
235
- "message.output_text.logprobs": "message.output_text.logprobs";
236
- "reasoning.encrypted_content": "reasoning.encrypted_content";
237
- }>>>>;
239
+ store: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
240
+ strictJsonSchema: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
238
241
  textVerbosity: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
239
242
  low: "low";
240
243
  medium: "medium";
241
244
  high: "high";
242
245
  }>>>;
243
- promptCacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
- safetyIdentifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
- logprobs: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber]>>;
246
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
246
247
  }, z.core.$strip>;
247
248
  type OpenAIResponsesProviderOptions = z.infer<typeof openaiResponsesProviderOptionsSchema>;
248
249