@ai-sdk/openai 2.0.43 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 2.0.44
4
+
5
+ ### Patch Changes
6
+
7
+ - 28215ca: fix(provider/openai): add providerExecuted flag to tool start chunks
8
+
3
9
  ## 2.0.43
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -3075,7 +3075,8 @@ var OpenAIResponsesLanguageModel = class {
3075
3075
  controller.enqueue({
3076
3076
  type: "tool-input-start",
3077
3077
  id: value.item.id,
3078
- toolName: webSearchToolName != null ? webSearchToolName : "web_search"
3078
+ toolName: webSearchToolName != null ? webSearchToolName : "web_search",
3079
+ providerExecuted: true
3079
3080
  });
3080
3081
  } else if (value.item.type === "computer_call") {
3081
3082
  ongoingToolCalls[value.output_index] = {
@@ -3085,7 +3086,8 @@ var OpenAIResponsesLanguageModel = class {
3085
3086
  controller.enqueue({
3086
3087
  type: "tool-input-start",
3087
3088
  id: value.item.id,
3088
- toolName: "computer_use"
3089
+ toolName: "computer_use",
3090
+ providerExecuted: true
3089
3091
  });
3090
3092
  } else if (value.item.type === "code_interpreter_call") {
3091
3093
  ongoingToolCalls[value.output_index] = {
@@ -3098,7 +3100,8 @@ var OpenAIResponsesLanguageModel = class {
3098
3100
  controller.enqueue({
3099
3101
  type: "tool-input-start",
3100
3102
  id: value.item.id,
3101
- toolName: "code_interpreter"
3103
+ toolName: "code_interpreter",
3104
+ providerExecuted: true
3102
3105
  });
3103
3106
  controller.enqueue({
3104
3107
  type: "tool-input-delta",
@@ -4078,7 +4081,7 @@ var openaiTranscriptionResponseSchema = import_v419.z.object({
4078
4081
  });
4079
4082
 
4080
4083
  // src/version.ts
4081
- var VERSION = true ? "2.0.43" : "0.0.0-test";
4084
+ var VERSION = true ? "2.0.44" : "0.0.0-test";
4082
4085
 
4083
4086
  // src/openai-provider.ts
4084
4087
  function createOpenAI(options = {}) {