added an error message if using an unknown API connection type
This commit is contained in:
parent
11cd0e6b66
commit
20eb305987
1 changed files with 3 additions and 0 deletions
|
|
@ -507,6 +507,9 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_
|
||||||
await browser.windows.create(win_options4);
|
await browser.windows.create(win_options4);
|
||||||
|
|
||||||
break; // openai_comp_api
|
break; // openai_comp_api
|
||||||
|
default:
|
||||||
|
taLog.error("Unknown API connection type: " + prefs.connection_type);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue