Comment out debug console logs in tb115_loader.js and mzta-background.js for cleaner output

This commit is contained in:
mic 2025-05-01 23:20:45 +02:00
parent 0dbaaca316
commit c2065e09b6
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
// Firefox 115 and, consequently, Thunderbird 115 are not compatible with Intl.Segmenter.
// ChatGPT is using Intl.Segmenter, so we have to do something about it or it won't work...
console.log("[ThunderAI] Intl.Segmenter: " + Intl.Segmenter);
// console.log("[ThunderAI] Intl.Segmenter: " + Intl.Segmenter);
(function() {
if('Segmenter' in Intl){

View file

@ -317,7 +317,7 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_
taLog.changeDebug(prefs.do_debug);
prefs = checkScreenDimensions(prefs);
//console.log(">>>>>>>>>>>>>>>> prefs: " + JSON.stringify(prefs));
console.log(">>>>>>>>>>>>>>>> prompt_info: " + JSON.stringify(prompt_info));
// console.log(">>>>>>>>>>>>>>>> prompt_info: " + JSON.stringify(prompt_info));
taLog.log("Prompt length: " + promptText.length);
if(promptText.length > prefs.max_prompt_length){
// Prompt too long for ChatGPT