From f7eab6602608fc39db6764c2be3dd4c8d4bb1c4b Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 31 Jan 2025 13:30:10 +0000 Subject: [PATCH] Fix streaming start appending undefined to reasoning block --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index b06003f8b..c4416f117 100644 --- a/public/script.js +++ b/public/script.js @@ -3171,7 +3171,7 @@ class StreamingProcessor { this.sendTextarea.dispatchEvent(new Event('input', { bubbles: true })); } else { - await saveReply(this.type, text, true); + await saveReply(this.type, text, true, '', [], ''); messageId = chat.length - 1; this.#checkDomElements(messageId); this.showMessageButtons(messageId);