missing var fixed
This commit is contained in:
parent
df92a15b03
commit
bf744f9c69
1 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ switch (llm) {
|
|||
case "ollama_api": {
|
||||
let prefs_api = {};
|
||||
try{
|
||||
await browser.storage.sync.get({ollama_host: '', ollama_model: ''});
|
||||
prefs_api = await browser.storage.sync.get({ollama_host: '', ollama_model: ''});
|
||||
}catch(e){
|
||||
prefs_api.ollama_host = '';
|
||||
prefs_api.ollama_model = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue