@ai-sdk/openai 2.0.70 → 2.0.71

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.
@@ -2722,6 +2722,8 @@ var openaiResponsesChunkSchema = lazyValidator11(
2722
2722
  annotation: z14.discriminatedUnion("type", [
2723
2723
  z14.object({
2724
2724
  type: z14.literal("url_citation"),
2725
+ start_index: z14.number(),
2726
+ end_index: z14.number(),
2725
2727
  url: z14.string(),
2726
2728
  title: z14.string()
2727
2729
  }),
@@ -4062,7 +4064,7 @@ var OpenAIResponsesLanguageModel = class {
4062
4064
  controller.enqueue({
4063
4065
  type: "tool-call",
4064
4066
  toolCallId: value.item.id,
4065
- toolName: "web_search",
4067
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
4066
4068
  input: JSON.stringify({}),
4067
4069
  providerExecuted: true
4068
4070
  });
@@ -4163,7 +4165,7 @@ var OpenAIResponsesLanguageModel = class {
4163
4165
  controller.enqueue({
4164
4166
  type: "tool-result",
4165
4167
  toolCallId: value.item.id,
4166
- toolName: "web_search",
4168
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
4167
4169
  result: mapWebSearchOutput(value.item.action),
4168
4170
  providerExecuted: true
4169
4171
  });
@@ -4562,6 +4564,9 @@ export {
4562
4564
  openaiChatLanguageModelOptions,
4563
4565
  openaiCompletionProviderOptions,
4564
4566
  openaiEmbeddingProviderOptions,
4565
- openaiSpeechProviderOptionsSchema
4567
+ openaiSpeechProviderOptionsSchema,
4568
+ webSearchPreview,
4569
+ webSearchPreviewArgsSchema,
4570
+ webSearchPreviewInputSchema
4566
4571
  };
4567
4572
  //# sourceMappingURL=index.mjs.map