@ai-sdk/openai 3.0.128 → 3.0.130

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
@@ -7031,12 +7031,8 @@ var OpenAIResponsesLanguageModel = class {
7031
7031
  controller.enqueue({
7032
7032
  type: "tool-input-start",
7033
7033
  id: value.item.call_id,
7034
- toolName
7035
- });
7036
- controller.enqueue({
7037
- type: "tool-input-delta",
7038
- id: value.item.call_id,
7039
- delta: '"'
7034
+ toolName,
7035
+ inputEncoding: "text"
7040
7036
  });
7041
7037
  } else if (value.item.type === "web_search_call") {
7042
7038
  ongoingToolCalls[value.output_index] = {
@@ -7326,11 +7322,6 @@ var OpenAIResponsesLanguageModel = class {
7326
7322
  const toolName = toolNameMapping.toCustomToolName(
7327
7323
  value.item.name
7328
7324
  );
7329
- controller.enqueue({
7330
- type: "tool-input-delta",
7331
- id: value.item.call_id,
7332
- delta: '"'
7333
- });
7334
7325
  controller.enqueue({
7335
7326
  type: "tool-input-end",
7336
7327
  id: value.item.call_id
@@ -7657,7 +7648,7 @@ var OpenAIResponsesLanguageModel = class {
7657
7648
  controller.enqueue({
7658
7649
  type: "tool-input-delta",
7659
7650
  id: toolCall.toolCallId,
7660
- delta: escapeJSONDelta(value.delta)
7651
+ delta: value.delta
7661
7652
  });
7662
7653
  }
7663
7654
  } else if (isResponseApplyPatchCallOperationDiffDeltaChunk(value)) {
@@ -8440,7 +8431,7 @@ var OpenAITranscriptionModel = class {
8440
8431
  };
8441
8432
 
8442
8433
  // src/version.ts
8443
- var VERSION = true ? "3.0.128" : "0.0.0-test";
8434
+ var VERSION = true ? "3.0.130" : "0.0.0-test";
8444
8435
 
8445
8436
  // src/openai-provider.ts
8446
8437
  function createOpenAI(options = {}) {