@ai-sdk/openai 3.0.127 → 3.0.129

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.
@@ -7273,12 +7273,8 @@ var OpenAIResponsesLanguageModel = class {
7273
7273
  controller.enqueue({
7274
7274
  type: "tool-input-start",
7275
7275
  id: value.item.call_id,
7276
- toolName
7277
- });
7278
- controller.enqueue({
7279
- type: "tool-input-delta",
7280
- id: value.item.call_id,
7281
- delta: '"'
7276
+ toolName,
7277
+ inputEncoding: "text"
7282
7278
  });
7283
7279
  } else if (value.item.type === "web_search_call") {
7284
7280
  ongoingToolCalls[value.output_index] = {
@@ -7568,11 +7564,6 @@ var OpenAIResponsesLanguageModel = class {
7568
7564
  const toolName = toolNameMapping.toCustomToolName(
7569
7565
  value.item.name
7570
7566
  );
7571
- controller.enqueue({
7572
- type: "tool-input-delta",
7573
- id: value.item.call_id,
7574
- delta: '"'
7575
- });
7576
7567
  controller.enqueue({
7577
7568
  type: "tool-input-end",
7578
7569
  id: value.item.call_id
@@ -7899,7 +7890,7 @@ var OpenAIResponsesLanguageModel = class {
7899
7890
  controller.enqueue({
7900
7891
  type: "tool-input-delta",
7901
7892
  id: toolCall.toolCallId,
7902
- delta: escapeJSONDelta(value.delta)
7893
+ delta: value.delta
7903
7894
  });
7904
7895
  }
7905
7896
  } else if (isResponseApplyPatchCallOperationDiffDeltaChunk(value)) {