fix: model list update
This commit is contained in:
@@ -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 ?? [''];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user