fluxflow-cli 2.11.2 → 2.11.3
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/fluxflow.js +7 -1
- package/package.json +1 -1
package/dist/fluxflow.js
CHANGED
|
@@ -8740,7 +8740,9 @@ ${ideErr} [/ERROR]`;
|
|
|
8740
8740
|
if (splitPoint !== -1) break;
|
|
8741
8741
|
}
|
|
8742
8742
|
if (splitPoint !== -1) {
|
|
8743
|
-
if (splitPoint > 0)
|
|
8743
|
+
if (splitPoint > 0) {
|
|
8744
|
+
msgs.push({ type: "text", content: remaining.substring(0, splitPoint) });
|
|
8745
|
+
}
|
|
8744
8746
|
isBufferingToolCall = true;
|
|
8745
8747
|
toolCallBuffer = remaining.substring(splitPoint);
|
|
8746
8748
|
remaining = "";
|
|
@@ -8852,6 +8854,7 @@ ${ideErr} [/ERROR]`;
|
|
|
8852
8854
|
if (aiProvider === "Google") {
|
|
8853
8855
|
pendingGoogleText += dedupeClean;
|
|
8854
8856
|
} else {
|
|
8857
|
+
yield* flushGoogleBuffer2();
|
|
8855
8858
|
const msgs = getBufferedMessages(dedupeClean);
|
|
8856
8859
|
for (const m of msgs) yield m;
|
|
8857
8860
|
}
|
|
@@ -8866,6 +8869,7 @@ ${ideErr} [/ERROR]`;
|
|
|
8866
8869
|
if (aiProvider === "Google") {
|
|
8867
8870
|
pendingGoogleText += chunkText;
|
|
8868
8871
|
} else {
|
|
8872
|
+
yield* flushGoogleBuffer2();
|
|
8869
8873
|
const msgs = getBufferedMessages(chunkText);
|
|
8870
8874
|
for (const m of msgs) yield m;
|
|
8871
8875
|
}
|
|
@@ -9877,6 +9881,7 @@ ${boxBottom}` };
|
|
|
9877
9881
|
toolCallPointer++;
|
|
9878
9882
|
}
|
|
9879
9883
|
if (aiProvider === "Google" && pendingGoogleText && Date.now() - lastGoogleFlushTime >= 150) {
|
|
9884
|
+
yield* flushGoogleBuffer2();
|
|
9880
9885
|
const msgs = getBufferedMessages(pendingGoogleText);
|
|
9881
9886
|
for (const m of msgs) yield m;
|
|
9882
9887
|
pendingGoogleText = "";
|
|
@@ -9921,6 +9926,7 @@ ${boxBottom}` };
|
|
|
9921
9926
|
if (aiProvider === "Google") {
|
|
9922
9927
|
pendingGoogleText += dedupeClean;
|
|
9923
9928
|
} else {
|
|
9929
|
+
yield* flushGoogleBuffer2();
|
|
9924
9930
|
const msgs = getBufferedMessages(dedupeClean);
|
|
9925
9931
|
for (const m of msgs) yield m;
|
|
9926
9932
|
}
|