diff --git a/js/mzta-menus.js b/js/mzta-menus.js index 6c3c499d..a54f7081 100644 --- a/js/mzta-menus.js +++ b/js/mzta-menus.js @@ -247,7 +247,7 @@ export class mzta_Menus { return {ok:'0'}; } this.logger.log("tags_current_email: " + tags_current_email); - // console.log(">>>>>>>>>>>> tags_full_list: " + JSON.stringify(tags_full_list)); + this.logger.log("tags_full_list: " + JSON.stringify(tags_full_list)); browser.tabs.sendMessage(tabs[0].id, {command: "getTags", tags: tags_current_email, messageId: curr_message.id}); return {ok:'1'}; break; // Add tags to the email - END diff --git a/js/mzta-special-commands.js b/js/mzta-special-commands.js index e70eb822..0a86c411 100644 --- a/js/mzta-special-commands.js +++ b/js/mzta-special-commands.js @@ -70,7 +70,6 @@ } case "openai_comp_api": { let prefs_api = await browser.storage.sync.get({openai_comp_host: '', openai_comp_model: '', openai_comp_api_key: '', openai_comp_use_v1: true, openai_comp_chat_name: '', do_debug: false}); - // console.log(">>>>>>>>>>>> [ThunderAI] prefs_api: " + JSON.stringify(prefs_api)); this.worker.postMessage({ type: 'init', openai_comp_host: prefs_api.openai_comp_host, openai_comp_model: prefs_api.openai_comp_model, openai_comp_api_key: prefs_api.openai_comp_api_key, openai_comp_use_v1: prefs_api.openai_comp_use_v1, do_debug: this.do_debug, i18nStrings: ''}); break; } @@ -90,7 +89,7 @@ this.full_message += payload.token; break; case 'tokensDone': - // console.log(">>>>>>>>>>>> [ThunderAI] tokensDone: " + this.full_message); + this.logger.log("tokensDone: " + this.full_message); resolve(this.full_message); // Resolve the promise with the full message break; case 'error':