Commit 734ba8f7 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: new chat default settings

parent 83e8db9b
...@@ -76,6 +76,13 @@ ...@@ -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
});
}; };
////////////////////////// //////////////////////////
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment