forked from open-webui/open-webui
fix: model list update
This commit is contained in:
parent
2342c5036b
commit
e366d1137f
3 changed files with 44 additions and 48 deletions
|
@ -93,6 +93,8 @@
|
|||
await goto('/auth');
|
||||
}
|
||||
|
||||
await settings.set(JSON.parse(localStorage.getItem('settings') ?? JSON.stringify($settings)));
|
||||
|
||||
let _models = await getModels();
|
||||
await models.set(_models);
|
||||
let _db = await getDB();
|
||||
|
|
|
@ -62,8 +62,6 @@
|
|||
messages: {},
|
||||
currentId: null
|
||||
};
|
||||
|
||||
await settings.set(JSON.parse(localStorage.getItem('settings') ?? JSON.stringify($settings)));
|
||||
selectedModels = $settings.models ?? [''];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue