@ai-sdk/openai 3.0.0-beta.100 → 3.0.0-beta.101

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
@@ -44,7 +44,7 @@ function getOpenAILanguageModelCapabilities(modelId) {
44
44
  const supportsFlexProcessing = modelId.startsWith("o3") || modelId.startsWith("o4-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-chat");
45
45
  const supportsPriorityProcessing = modelId.startsWith("gpt-4") || modelId.startsWith("gpt-5-mini") || modelId.startsWith("gpt-5") && !modelId.startsWith("gpt-5-nano") && !modelId.startsWith("gpt-5-chat") || modelId.startsWith("o3") || modelId.startsWith("o4-mini");
46
46
  const isReasoningModel = !(modelId.startsWith("gpt-3") || modelId.startsWith("gpt-4") || modelId.startsWith("chatgpt-4o") || modelId.startsWith("gpt-5-chat"));
47
- const supportsNonReasoningParameters = modelId.startsWith("gpt-5.1");
47
+ const supportsNonReasoningParameters = modelId.startsWith("gpt-5.1") || modelId.startsWith("gpt-5.2");
48
48
  const systemMessageMode = isReasoningModel ? "developer" : "system";
49
49
  return {
50
50
  supportsFlexProcessing,
@@ -2683,7 +2683,7 @@ async function convertToOpenAIResponsesInput({
2683
2683
  call_id: part.toolCallId,
2684
2684
  output: parsedOutput.output
2685
2685
  });
2686
- break;
2686
+ continue;
2687
2687
  }
2688
2688
  if (hasShellTool && resolvedToolName === "shell" && output.type === "json") {
2689
2689
  const parsedOutput = await validateTypes({
@@ -2702,7 +2702,7 @@ async function convertToOpenAIResponsesInput({
2702
2702
  }
2703
2703
  }))
2704
2704
  });
2705
- break;
2705
+ continue;
2706
2706
  }
2707
2707
  if (hasApplyPatchTool && part.toolName === "apply_patch" && output.type === "json") {
2708
2708
  const parsedOutput = await validateTypes({
@@ -2715,7 +2715,7 @@ async function convertToOpenAIResponsesInput({
2715
2715
  status: parsedOutput.status,
2716
2716
  output: parsedOutput.output
2717
2717
  });
2718
- break;
2718
+ continue;
2719
2719
  }
2720
2720
  let contentValue;
2721
2721
  switch (output.type) {
@@ -5571,7 +5571,7 @@ var OpenAITranscriptionModel = class {
5571
5571
  };
5572
5572
 
5573
5573
  // src/version.ts
5574
- var VERSION = true ? "3.0.0-beta.100" : "0.0.0-test";
5574
+ var VERSION = true ? "3.0.0-beta.101" : "0.0.0-test";
5575
5575
 
5576
5576
  // src/openai-provider.ts
5577
5577
  function createOpenAI(options = {}) {