@ai-sdk/openai 2.1.0-beta.12 → 2.1.0-beta.14

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
@@ -1605,9 +1605,13 @@ import { z as z8 } from "zod/v4";
1605
1605
  var modelMaxImagesPerCall = {
1606
1606
  "dall-e-3": 1,
1607
1607
  "dall-e-2": 10,
1608
- "gpt-image-1": 10
1608
+ "gpt-image-1": 10,
1609
+ "gpt-image-1-mini": 10
1609
1610
  };
1610
- var hasDefaultResponseFormat = /* @__PURE__ */ new Set(["gpt-image-1"]);
1611
+ var hasDefaultResponseFormat = /* @__PURE__ */ new Set([
1612
+ "gpt-image-1",
1613
+ "gpt-image-1-mini"
1614
+ ]);
1611
1615
 
1612
1616
  // src/image/openai-image-model.ts
1613
1617
  var OpenAIImageModel = class {
@@ -3109,7 +3113,8 @@ var OpenAIResponsesLanguageModel = class {
3109
3113
  controller.enqueue({
3110
3114
  type: "tool-input-start",
3111
3115
  id: value.item.id,
3112
- toolName: webSearchToolName != null ? webSearchToolName : "web_search"
3116
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
3117
+ providerExecuted: true
3113
3118
  });
3114
3119
  } else if (value.item.type === "computer_call") {
3115
3120
  ongoingToolCalls[value.output_index] = {
@@ -3119,7 +3124,8 @@ var OpenAIResponsesLanguageModel = class {
3119
3124
  controller.enqueue({
3120
3125
  type: "tool-input-start",
3121
3126
  id: value.item.id,
3122
- toolName: "computer_use"
3127
+ toolName: "computer_use",
3128
+ providerExecuted: true
3123
3129
  });
3124
3130
  } else if (value.item.type === "code_interpreter_call") {
3125
3131
  ongoingToolCalls[value.output_index] = {
@@ -3132,7 +3138,8 @@ var OpenAIResponsesLanguageModel = class {
3132
3138
  controller.enqueue({
3133
3139
  type: "tool-input-start",
3134
3140
  id: value.item.id,
3135
- toolName: "code_interpreter"
3141
+ toolName: "code_interpreter",
3142
+ providerExecuted: true
3136
3143
  });
3137
3144
  controller.enqueue({
3138
3145
  type: "tool-input-delta",
@@ -4145,7 +4152,7 @@ var openaiTranscriptionResponseSchema = z19.object({
4145
4152
  });
4146
4153
 
4147
4154
  // src/version.ts
4148
- var VERSION = true ? "2.1.0-beta.12" : "0.0.0-test";
4155
+ var VERSION = true ? "2.1.0-beta.14" : "0.0.0-test";
4149
4156
 
4150
4157
  // src/openai-provider.ts
4151
4158
  function createOpenAI(options = {}) {