@genai-fi/nanogpt 0.17.3 → 0.17.4
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/Generator.js +1 -1
- package/package.json +1 -1
package/dist/Generator.js
CHANGED
|
@@ -11841,7 +11841,7 @@ class AS extends Ui {
|
|
|
11841
11841
|
this.outputConversation[this.outputConversation.length - 1]._completed = !0;
|
|
11842
11842
|
break;
|
|
11843
11843
|
}
|
|
11844
|
-
o === s - 1 && (this.outputConversation[this.outputConversation.length - 1]._completed = !0), this.outputConversation[this.outputConversation.length - 1].content += p;
|
|
11844
|
+
o === s - 1 && s > 1 && (this.outputConversation[this.outputConversation.length - 1]._completed = !0), this.outputConversation[this.outputConversation.length - 1].content += p;
|
|
11845
11845
|
}
|
|
11846
11846
|
return n.dispose(), this.outputConversation;
|
|
11847
11847
|
}
|