@ai-sdk/openai 2.0.42 → 2.0.44

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/dist/index.mjs CHANGED
@@ -1601,9 +1601,13 @@ import { z as z8 } from "zod/v4";
1601
1601
  var modelMaxImagesPerCall = {
1602
1602
  "dall-e-3": 1,
1603
1603
  "dall-e-2": 10,
1604
- "gpt-image-1": 10
1604
+ "gpt-image-1": 10,
1605
+ "gpt-image-1-mini": 10
1605
1606
  };
1606
- var hasDefaultResponseFormat = /* @__PURE__ */ new Set(["gpt-image-1"]);
1607
+ var hasDefaultResponseFormat = /* @__PURE__ */ new Set([
1608
+ "gpt-image-1",
1609
+ "gpt-image-1-mini"
1610
+ ]);
1607
1611
 
1608
1612
  // src/image/openai-image-model.ts
1609
1613
  var OpenAIImageModel = class {
@@ -3095,7 +3099,8 @@ var OpenAIResponsesLanguageModel = class {
3095
3099
  controller.enqueue({
3096
3100
  type: "tool-input-start",
3097
3101
  id: value.item.id,
3098
- toolName: webSearchToolName != null ? webSearchToolName : "web_search"
3102
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
3103
+ providerExecuted: true
3099
3104
  });
3100
3105
  } else if (value.item.type === "computer_call") {
3101
3106
  ongoingToolCalls[value.output_index] = {
@@ -3105,7 +3110,8 @@ var OpenAIResponsesLanguageModel = class {
3105
3110
  controller.enqueue({
3106
3111
  type: "tool-input-start",
3107
3112
  id: value.item.id,
3108
- toolName: "computer_use"
3113
+ toolName: "computer_use",
3114
+ providerExecuted: true
3109
3115
  });
3110
3116
  } else if (value.item.type === "code_interpreter_call") {
3111
3117
  ongoingToolCalls[value.output_index] = {
@@ -3118,7 +3124,8 @@ var OpenAIResponsesLanguageModel = class {
3118
3124
  controller.enqueue({
3119
3125
  type: "tool-input-start",
3120
3126
  id: value.item.id,
3121
- toolName: "code_interpreter"
3127
+ toolName: "code_interpreter",
3128
+ providerExecuted: true
3122
3129
  });
3123
3130
  controller.enqueue({
3124
3131
  type: "tool-input-delta",
@@ -4110,7 +4117,7 @@ var openaiTranscriptionResponseSchema = z19.object({
4110
4117
  });
4111
4118
 
4112
4119
  // src/version.ts
4113
- var VERSION = true ? "2.0.42" : "0.0.0-test";
4120
+ var VERSION = true ? "2.0.44" : "0.0.0-test";
4114
4121
 
4115
4122
  // src/openai-provider.ts
4116
4123
  function createOpenAI(options = {}) {