@ai-sdk/openai 3.0.15 → 3.0.17

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
@@ -2705,6 +2705,20 @@ async function convertToOpenAIResponsesInput({
2705
2705
  });
2706
2706
  break;
2707
2707
  }
2708
+ if (hasApplyPatchTool && resolvedToolName === "apply_patch") {
2709
+ const parsedInput = await validateTypes({
2710
+ value: part.input,
2711
+ schema: applyPatchInputSchema
2712
+ });
2713
+ input.push({
2714
+ type: "apply_patch_call",
2715
+ call_id: parsedInput.callId,
2716
+ id,
2717
+ status: "completed",
2718
+ operation: parsedInput.operation
2719
+ });
2720
+ break;
2721
+ }
2708
2722
  input.push({
2709
2723
  type: "function_call",
2710
2724
  call_id: part.toolCallId,
@@ -5856,7 +5870,7 @@ var OpenAITranscriptionModel = class {
5856
5870
  };
5857
5871
 
5858
5872
  // src/version.ts
5859
- var VERSION = true ? "3.0.15" : "0.0.0-test";
5873
+ var VERSION = true ? "3.0.17" : "0.0.0-test";
5860
5874
 
5861
5875
  // src/openai-provider.ts
5862
5876
  function createOpenAI(options = {}) {