Add comment

This commit is contained in:
Saoud Rizwan
2024-09-28 19:39:59 -04:00
parent 6c702d86ee
commit b4a540a269

View File

@@ -2179,7 +2179,7 @@ ${this.customInstructions.trim()}
*/ */
this.presentAssistantMessageLocked = false this.presentAssistantMessageLocked = false // this needs to be placed here, if not then calling this.presentAssistantMessage below would fail (sometimes) since it's locked
if (!block.partial) { if (!block.partial) {
// block is finished streaming and executing // block is finished streaming and executing
if (this.currentStreamingContentIndex === this.assistantMessageContent.length - 1) { if (this.currentStreamingContentIndex === this.assistantMessageContent.length - 1) {