@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 +6 -0
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +6 -0
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +6 -0
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/internal/index.js
CHANGED
|
@@ -2561,6 +2561,9 @@ async function convertToOpenAIResponsesInput({
|
|
|
2561
2561
|
input.push({ type: "item_reference", id });
|
|
2562
2562
|
break;
|
|
2563
2563
|
}
|
|
2564
|
+
if (store && id != null && previousResponseId) {
|
|
2565
|
+
break;
|
|
2566
|
+
}
|
|
2564
2567
|
input.push({
|
|
2565
2568
|
role: "assistant",
|
|
2566
2569
|
content: [{ type: "output_text", text: part.text }],
|
|
@@ -2580,6 +2583,9 @@ async function convertToOpenAIResponsesInput({
|
|
|
2580
2583
|
input.push({ type: "item_reference", id });
|
|
2581
2584
|
break;
|
|
2582
2585
|
}
|
|
2586
|
+
if (store && id != null && previousResponseId) {
|
|
2587
|
+
break;
|
|
2588
|
+
}
|
|
2583
2589
|
const resolvedToolName = toolNameMapping.toProviderToolName(
|
|
2584
2590
|
part.toolName
|
|
2585
2591
|
);
|