mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-22 06:57:41 +01:00
Clear custom model selection on loading presets
This commit is contained in:
parent
1557dec2bc
commit
2b3e44cca3
@ -3971,6 +3971,8 @@ function onSettingsPresetChange() {
|
||||
settings: oai_settings,
|
||||
savePreset: saveOpenAIPreset,
|
||||
}).finally(r => {
|
||||
$('.model_custom_select').empty();
|
||||
|
||||
for (const [key, [selector, setting, isCheckbox]] of Object.entries(settingsToUpdate)) {
|
||||
if (preset[key] !== undefined) {
|
||||
if (isCheckbox) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user