@ai-sdk/openai 3.0.0-beta.61 → 3.0.0-beta.62

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.
@@ -2775,6 +2775,8 @@ var openaiResponsesChunkSchema = lazySchema12(
2775
2775
  annotation: z14.discriminatedUnion("type", [
2776
2776
  z14.object({
2777
2777
  type: z14.literal("url_citation"),
2778
+ start_index: z14.number(),
2779
+ end_index: z14.number(),
2778
2780
  url: z14.string(),
2779
2781
  title: z14.string()
2780
2782
  }),
@@ -4395,7 +4397,7 @@ var OpenAIResponsesLanguageModel = class {
4395
4397
  controller.enqueue({
4396
4398
  type: "tool-call",
4397
4399
  toolCallId: value.item.id,
4398
- toolName: "web_search",
4400
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
4399
4401
  input: JSON.stringify({}),
4400
4402
  providerExecuted: true
4401
4403
  });
@@ -4503,7 +4505,7 @@ var OpenAIResponsesLanguageModel = class {
4503
4505
  controller.enqueue({
4504
4506
  type: "tool-result",
4505
4507
  toolCallId: value.item.id,
4506
- toolName: "web_search",
4508
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
4507
4509
  result: mapWebSearchOutput(value.item.action)
4508
4510
  });
4509
4511
  } else if (value.item.type === "computer_call") {
@@ -4968,6 +4970,9 @@ export {
4968
4970
  openaiChatLanguageModelOptions,
4969
4971
  openaiCompletionProviderOptions,
4970
4972
  openaiEmbeddingProviderOptions,
4971
- openaiSpeechProviderOptionsSchema
4973
+ openaiSpeechProviderOptionsSchema,
4974
+ webSearchPreview,
4975
+ webSearchPreviewArgsSchema,
4976
+ webSearchPreviewInputSchema
4972
4977
  };
4973
4978
  //# sourceMappingURL=index.mjs.map