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

* fix 重置按钮bug

* fix version control bug

---------

Co-authored-by: binary-husky <qingxu.fu@outlook.com>
这个提交包含在:
G.RQ
2024-12-28 23:19:25 +08:00
提交者 GitHub
父节点 ac64a77c2d
当前提交 c53ddf65aa

查看文件

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