missing var fixed

This commit is contained in:
mic 2024-09-30 20:35:21 +02:00
parent df92a15b03
commit bf744f9c69

View file

@ -91,7 +91,7 @@ switch (llm) {
case "ollama_api": { case "ollama_api": {
let prefs_api = {}; let prefs_api = {};
try{ try{
await browser.storage.sync.get({ollama_host: '', ollama_model: ''}); prefs_api = await browser.storage.sync.get({ollama_host: '', ollama_model: ''});
}catch(e){ }catch(e){
prefs_api.ollama_host = ''; prefs_api.ollama_host = '';
prefs_api.ollama_model = ''; prefs_api.ollama_model = '';