@apertis/ai-sdk-provider 2.0.0 → 2.0.1
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.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2517,6 +2517,7 @@ var ApertisChatLanguageModel = class {
|
|
|
2517
2517
|
type: "text-end",
|
|
2518
2518
|
id: textId
|
|
2519
2519
|
});
|
|
2520
|
+
textId = null;
|
|
2520
2521
|
}
|
|
2521
2522
|
for (const [, buffer] of toolCallBuffers) {
|
|
2522
2523
|
if (buffer.name) {
|
|
@@ -2730,6 +2731,7 @@ var ApertisChatLanguageModelV2 = class {
|
|
|
2730
2731
|
type: "text-end",
|
|
2731
2732
|
id: textId
|
|
2732
2733
|
});
|
|
2734
|
+
textId = null;
|
|
2733
2735
|
}
|
|
2734
2736
|
for (const [, buffer] of toolCallBuffers) {
|
|
2735
2737
|
if (buffer.name) {
|