@ai-sdk/openai 3.0.0-beta.45 → 3.0.0-beta.47

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
@@ -3424,8 +3424,7 @@ var OpenAIResponsesLanguageModel = class {
3424
3424
  toolName: "image_generation",
3425
3425
  result: {
3426
3426
  result: part.result
3427
- },
3428
- providerExecuted: true
3427
+ }
3429
3428
  });
3430
3429
  break;
3431
3430
  }
@@ -3516,8 +3515,7 @@ var OpenAIResponsesLanguageModel = class {
3516
3515
  type: "tool-result",
3517
3516
  toolCallId: part.id,
3518
3517
  toolName: webSearchToolName != null ? webSearchToolName : "web_search",
3519
- result: mapWebSearchOutput(part.action),
3520
- providerExecuted: true
3518
+ result: mapWebSearchOutput(part.action)
3521
3519
  });
3522
3520
  break;
3523
3521
  }
@@ -3536,8 +3534,7 @@ var OpenAIResponsesLanguageModel = class {
3536
3534
  result: {
3537
3535
  type: "computer_use_tool_result",
3538
3536
  status: part.status || "completed"
3539
- },
3540
- providerExecuted: true
3537
+ }
3541
3538
  });
3542
3539
  break;
3543
3540
  }
@@ -3562,8 +3559,7 @@ var OpenAIResponsesLanguageModel = class {
3562
3559
  score: result.score,
3563
3560
  text: result.text
3564
3561
  }))) != null ? _n : null
3565
- },
3566
- providerExecuted: true
3562
+ }
3567
3563
  });
3568
3564
  break;
3569
3565
  }
@@ -3584,8 +3580,7 @@ var OpenAIResponsesLanguageModel = class {
3584
3580
  toolName: "code_interpreter",
3585
3581
  result: {
3586
3582
  outputs: part.outputs
3587
- },
3588
- providerExecuted: true
3583
+ }
3589
3584
  });
3590
3585
  break;
3591
3586
  }
@@ -3809,8 +3804,7 @@ var OpenAIResponsesLanguageModel = class {
3809
3804
  type: "tool-result",
3810
3805
  toolCallId: value.item.id,
3811
3806
  toolName: "web_search",
3812
- result: mapWebSearchOutput(value.item.action),
3813
- providerExecuted: true
3807
+ result: mapWebSearchOutput(value.item.action)
3814
3808
  });
3815
3809
  } else if (value.item.type === "computer_call") {
3816
3810
  ongoingToolCalls[value.output_index] = void 0;
@@ -3832,8 +3826,7 @@ var OpenAIResponsesLanguageModel = class {
3832
3826
  result: {
3833
3827
  type: "computer_use_tool_result",
3834
3828
  status: value.item.status || "completed"
3835
- },
3836
- providerExecuted: true
3829
+ }
3837
3830
  });
3838
3831
  } else if (value.item.type === "file_search_call") {
3839
3832
  ongoingToolCalls[value.output_index] = void 0;
@@ -3850,8 +3843,7 @@ var OpenAIResponsesLanguageModel = class {
3850
3843
  score: result.score,
3851
3844
  text: result.text
3852
3845
  }))) != null ? _c : null
3853
- },
3854
- providerExecuted: true
3846
+ }
3855
3847
  });
3856
3848
  } else if (value.item.type === "code_interpreter_call") {
3857
3849
  ongoingToolCalls[value.output_index] = void 0;
@@ -3861,8 +3853,7 @@ var OpenAIResponsesLanguageModel = class {
3861
3853
  toolName: "code_interpreter",
3862
3854
  result: {
3863
3855
  outputs: value.item.outputs
3864
- },
3865
- providerExecuted: true
3856
+ }
3866
3857
  });
3867
3858
  } else if (value.item.type === "image_generation_call") {
3868
3859
  controller.enqueue({
@@ -3871,8 +3862,7 @@ var OpenAIResponsesLanguageModel = class {
3871
3862
  toolName: "image_generation",
3872
3863
  result: {
3873
3864
  result: value.item.result
3874
- },
3875
- providerExecuted: true
3865
+ }
3876
3866
  });
3877
3867
  } else if (value.item.type === "local_shell_call") {
3878
3868
  ongoingToolCalls[value.output_index] = void 0;
@@ -3937,7 +3927,6 @@ var OpenAIResponsesLanguageModel = class {
3937
3927
  result: {
3938
3928
  result: value.partial_image_b64
3939
3929
  },
3940
- providerExecuted: true,
3941
3930
  preliminary: true
3942
3931
  });
3943
3932
  } else if (isResponseCodeInterpreterCallCodeDeltaChunk(value)) {
@@ -4560,7 +4549,7 @@ var OpenAITranscriptionModel = class {
4560
4549
  };
4561
4550
 
4562
4551
  // src/version.ts
4563
- var VERSION = true ? "3.0.0-beta.45" : "0.0.0-test";
4552
+ var VERSION = true ? "3.0.0-beta.47" : "0.0.0-test";
4564
4553
 
4565
4554
  // src/openai-provider.ts
4566
4555
  function createOpenAI(options = {}) {