@ai-sdk/openai 2.1.0-beta.13 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 2.1.0-beta.14
4
+
5
+ ### Patch Changes
6
+
7
+ - 000e87b: fix(provider/openai): add providerExecuted flag to tool start chunks
8
+
3
9
  ## 2.1.0-beta.13
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3089,7 +3089,8 @@ var OpenAIResponsesLanguageModel = class {
3089
3089
  controller.enqueue({
3090
3090
  type: "tool-input-start",
3091
3091
  id: value.item.id,
3092
- toolName: webSearchToolName != null ? webSearchToolName : "web_search"
3092
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
3093
+ providerExecuted: true
3093
3094
  });
3094
3095
  } else if (value.item.type === "computer_call") {
3095
3096
  ongoingToolCalls[value.output_index] = {
@@ -3099,7 +3100,8 @@ var OpenAIResponsesLanguageModel = class {
3099
3100
  controller.enqueue({
3100
3101
  type: "tool-input-start",
3101
3102
  id: value.item.id,
3102
- toolName: "computer_use"
3103
+ toolName: "computer_use",
3104
+ providerExecuted: true
3103
3105
  });
3104
3106
  } else if (value.item.type === "code_interpreter_call") {
3105
3107
  ongoingToolCalls[value.output_index] = {
@@ -3112,7 +3114,8 @@ var OpenAIResponsesLanguageModel = class {
3112
3114
  controller.enqueue({
3113
3115
  type: "tool-input-start",
3114
3116
  id: value.item.id,
3115
- toolName: "code_interpreter"
3117
+ toolName: "code_interpreter",
3118
+ providerExecuted: true
3116
3119
  });
3117
3120
  controller.enqueue({
3118
3121
  type: "tool-input-delta",
@@ -4113,7 +4116,7 @@ var openaiTranscriptionResponseSchema = import_v419.z.object({
4113
4116
  });
4114
4117
 
4115
4118
  // src/version.ts
4116
- var VERSION = true ? "2.1.0-beta.13" : "0.0.0-test";
4119
+ var VERSION = true ? "2.1.0-beta.14" : "0.0.0-test";
4117
4120
 
4118
4121
  // src/openai-provider.ts
4119
4122
  function createOpenAI(options = {}) {