From c53ddf65aa2208f1e7bc1cfb66ef854daa3d9fac Mon Sep 17 00:00:00 2001 From: "G.RQ" <61670021+guoruqiang@users.noreply.github.com> Date: Sat, 28 Dec 2024 23:19:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20bug=E2=80=9C=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E2=80=9D=E6=8C=89=E9=92=AE=E6=8A=A5=E9=94=99=20(#2102?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix 重置按钮bug * fix version control bug --------- Co-authored-by: binary-husky --- themes/common.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/themes/common.js b/themes/common.js index d22d5a6e..04628d1b 100644 --- a/themes/common.js +++ b/themes/common.js @@ -1070,6 +1070,14 @@ function restore_chat_from_local_storage(event) { } +function clear_conversation(a, b, c) { + update_conversation_metadata(); + let stopButton = document.getElementById("elem_stop"); + stopButton.click(); + // console.log("clear_conversation"); + return reset_conversation(a, b); +} + function reset_conversation(a, b) { // console.log("js_code_reset");