Comment out debug console logs in tb115_loader.js and mzta-background.js for cleaner output
This commit is contained in:
parent
0dbaaca316
commit
c2065e09b6
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
// Firefox 115 and, consequently, Thunderbird 115 are not compatible with Intl.Segmenter.
|
// 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...
|
// 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() {
|
(function() {
|
||||||
if('Segmenter' in Intl){
|
if('Segmenter' in Intl){
|
||||||
|
|
|
||||||
|
|
@ -317,7 +317,7 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_
|
||||||
taLog.changeDebug(prefs.do_debug);
|
taLog.changeDebug(prefs.do_debug);
|
||||||
prefs = checkScreenDimensions(prefs);
|
prefs = checkScreenDimensions(prefs);
|
||||||
//console.log(">>>>>>>>>>>>>>>> prefs: " + JSON.stringify(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);
|
taLog.log("Prompt length: " + promptText.length);
|
||||||
if(promptText.length > prefs.max_prompt_length){
|
if(promptText.length > prefs.max_prompt_length){
|
||||||
// Prompt too long for ChatGPT
|
// Prompt too long for ChatGPT
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue