@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.
@@ -7189,12 +7189,8 @@ var OpenAIResponsesLanguageModel = class {
7189
7189
  controller.enqueue({
7190
7190
  type: "tool-input-start",
7191
7191
  id: value.item.call_id,
7192
- toolName
7193
- });
7194
- controller.enqueue({
7195
- type: "tool-input-delta",
7196
- id: value.item.call_id,
7197
- delta: '"'
7192
+ toolName,
7193
+ inputEncoding: "text"
7198
7194
  });
7199
7195
  } else if (value.item.type === "web_search_call") {
7200
7196
  ongoingToolCalls[value.output_index] = {
@@ -7484,11 +7480,6 @@ var OpenAIResponsesLanguageModel = class {
7484
7480
  const toolName = toolNameMapping.toCustomToolName(
7485
7481
  value.item.name
7486
7482
  );
7487
- controller.enqueue({
7488
- type: "tool-input-delta",
7489
- id: value.item.call_id,
7490
- delta: '"'
7491
- });
7492
7483
  controller.enqueue({
7493
7484
  type: "tool-input-end",
7494
7485
  id: value.item.call_id
@@ -7815,7 +7806,7 @@ var OpenAIResponsesLanguageModel = class {
7815
7806
  controller.enqueue({
7816
7807
  type: "tool-input-delta",
7817
7808
  id: toolCall.toolCallId,
7818
- delta: escapeJSONDelta(value.delta)
7809
+ delta: value.delta
7819
7810
  });
7820
7811
  }
7821
7812
  } else if (isResponseApplyPatchCallOperationDiffDeltaChunk(value)) {