mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
fix: new chat default settings
This commit is contained in:
parent
83e8db9b6a
commit
734ba8f762
@ -76,6 +76,13 @@
|
|||||||
selectedModels = $page.url.searchParams.get('models')
|
selectedModels = $page.url.searchParams.get('models')
|
||||||
? $page.url.searchParams.get('models')?.split(',')
|
? $page.url.searchParams.get('models')?.split(',')
|
||||||
: $settings.models ?? [''];
|
: $settings.models ?? [''];
|
||||||
|
|
||||||
|
let _settings = JSON.parse(localStorage.getItem('settings') ?? '{}');
|
||||||
|
console.log(_settings);
|
||||||
|
settings.set({
|
||||||
|
...$settings,
|
||||||
|
..._settings
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////
|
//////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user