@zenning/openai 3.0.18 → 3.0.19

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 3.0.19
4
+
5
+ ### Patch Changes
6
+
7
+ - grg
8
+
3
9
  ## 3.0.18
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -2570,6 +2570,9 @@ async function convertToOpenAIResponsesInput({
2570
2570
  input.push({ type: "item_reference", id });
2571
2571
  break;
2572
2572
  }
2573
+ if (store && id != null && previousResponseId) {
2574
+ break;
2575
+ }
2573
2576
  input.push({
2574
2577
  role: "assistant",
2575
2578
  content: [{ type: "output_text", text: part.text }],
@@ -2589,6 +2592,9 @@ async function convertToOpenAIResponsesInput({
2589
2592
  input.push({ type: "item_reference", id });
2590
2593
  break;
2591
2594
  }
2595
+ if (store && id != null && previousResponseId) {
2596
+ break;
2597
+ }
2592
2598
  const resolvedToolName = toolNameMapping.toProviderToolName(
2593
2599
  part.toolName
2594
2600
  );
@@ -5782,7 +5788,7 @@ var OpenAITranscriptionModel = class {
5782
5788
  };
5783
5789
 
5784
5790
  // src/version.ts
5785
- var VERSION = true ? "3.0.17" : "0.0.0-test";
5791
+ var VERSION = true ? "3.0.19" : "0.0.0-test";
5786
5792
 
5787
5793
  // src/openai-provider.ts
5788
5794
  function createOpenAI(options = {}) {