修复 bug“重置”按钮报错 (#2102)

* fix 重置按钮bug

* fix version control bug

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
This commit is contained in:
G.RQ
2024-12-28 23:19:25 +08:00
committed by GitHub
parent ac64a77c2d
commit c53ddf65aa

View File

@@ -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");