mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
Merge pull request #18438 from acwoo97/fix/load-defaults
fix: load default settings when sessionStorage is empty
This commit is contained in:
commit
375d29bab4
1 changed files with 2 additions and 0 deletions
|
|
@ -192,6 +192,8 @@
|
||||||
codeInterpreterEnabled = input.codeInterpreterEnabled;
|
codeInterpreterEnabled = input.codeInterpreterEnabled;
|
||||||
}
|
}
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
|
} else {
|
||||||
|
await setDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
const chatInput = document.getElementById('chat-input');
|
const chatInput = document.getElementById('chat-input');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue