mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Scrub proxy from exported presets
Speed-up animations.
This commit is contained in:
@ -751,7 +751,7 @@ let create_save = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
//animation right menu
|
//animation right menu
|
||||||
let animation_duration = 250;
|
let animation_duration = 125;
|
||||||
let animation_easing = "ease-in-out";
|
let animation_easing = "ease-in-out";
|
||||||
let popup_type = "";
|
let popup_type = "";
|
||||||
let bg_file_for_del = "";
|
let bg_file_for_del = "";
|
||||||
|
@ -2345,6 +2345,10 @@ async function onExportPresetClick() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const preset = openai_settings[openai_setting_names[oai_settings.preset_settings_openai]];
|
const preset = openai_settings[openai_setting_names[oai_settings.preset_settings_openai]];
|
||||||
|
|
||||||
|
delete preset.reverse_proxy;
|
||||||
|
delete preset.proxy_password;
|
||||||
|
|
||||||
const presetJsonString = JSON.stringify(preset, null, 4);
|
const presetJsonString = JSON.stringify(preset, null, 4);
|
||||||
download(presetJsonString, oai_settings.preset_settings_openai, 'application/json');
|
download(presetJsonString, oai_settings.preset_settings_openai, 'application/json');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user