diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index 95a96785..9b1ac57c 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -22,6 +22,7 @@ export const mzta_script = ` let force_go = false; +let current_message = null; async function chatgpt_sendMsg(msg, method ='') { const textArea = document.querySelector('form textarea'), @@ -111,17 +112,19 @@ function chatpgt_scrollToBottom () { function addCustomDiv(prompt_action,tabId) { // Create