From f75f2520684fbb1f93c2e1a16967b86c318b315a Mon Sep 17 00:00:00 2001 From: Mic Date: Thu, 1 May 2025 22:46:09 +0200 Subject: [PATCH] typo fixed --- js/mzta-chatgpt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/mzta-chatgpt.js b/js/mzta-chatgpt.js index dfb711e8..9e2f1d59 100644 --- a/js/mzta-chatgpt.js +++ b/js/mzta-chatgpt.js @@ -396,7 +396,7 @@ async function doProceed(message, customText = ''){ // console.log(">>>>>>>>>>>> doProceed customText: " + customText); // console.log(">>>>>>>>>>>> doProceed final_prompt: " + final_prompt); // console.log(">>>>>>>>>>>> doProceed mztaPhDefVal: " + JSON.stringify(mztaPhDefVal)); - //check if there is che additional_text placeholder + //check if there is the additional_text placeholder if(final_prompt.includes('{%additional_text%}')){ // console.log(">>>>>>>>>>>> found ph customText: " + customText); final_prompt = final_prompt.replace('{%additional_text%}', customText || (mztaPhDefVal == '1'?'':'{%additional_text%}'));