added an error message if using an unknown API connection type

This commit is contained in:
mic 2025-01-05 23:59:28 +01:00
parent 11cd0e6b66
commit 20eb305987

View file

@ -507,6 +507,9 @@ async function openChatGPT(promptText, action, curr_tabId, prompt_name = '', do_
await browser.windows.create(win_options4);
break; // openai_comp_api
default:
taLog.error("Unknown API connection type: " + prefs.connection_type);
break;
}
}