console.log debug statemenents commented out
This commit is contained in:
parent
8ebbfc981a
commit
9569cc9dac
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@
|
||||||
}
|
}
|
||||||
case "openai_comp_api": {
|
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});
|
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));
|
// 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: ''});
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
@ -89,7 +89,7 @@
|
||||||
this.full_message += payload.token;
|
this.full_message += payload.token;
|
||||||
break;
|
break;
|
||||||
case 'tokensDone':
|
case 'tokensDone':
|
||||||
console.log(">>>>>>>>>>>> [ThunderAI] tokensDone: " + this.full_message);
|
// console.log(">>>>>>>>>>>> [ThunderAI] tokensDone: " + this.full_message);
|
||||||
resolve(this.full_message); // Resolve the promise with the full message
|
resolve(this.full_message); // Resolve the promise with the full message
|
||||||
break;
|
break;
|
||||||
case 'error':
|
case 'error':
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue