@ai-sdk/openai 3.0.112 → 3.0.113

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.
@@ -6911,6 +6911,7 @@ var OpenAIResponsesLanguageModel = class {
6911
6911
  break;
6912
6912
  }
6913
6913
  case "apply_patch_call": {
6914
+ hasFunctionCall = true;
6914
6915
  content.push({
6915
6916
  type: "tool-call",
6916
6917
  toolCallId: part.call_id,
@@ -7557,6 +7558,7 @@ var OpenAIResponsesLanguageModel = class {
7557
7558
  toolCall.applyPatch.endEmitted = true;
7558
7559
  }
7559
7560
  if (toolCall && value.item.status === "completed") {
7561
+ hasFunctionCall = true;
7560
7562
  controller.enqueue({
7561
7563
  type: "tool-call",
7562
7564
  toolCallId: toolCall.toolCallId,