mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-26 17:00:17 +01:00
Scrub proxy from exported presets
Speed-up animations.
This commit is contained in:
parent
aef78c6d99
commit
5cecc9fbff
@ -751,7 +751,7 @@ let create_save = {
|
||||
};
|
||||
|
||||
//animation right menu
|
||||
let animation_duration = 250;
|
||||
let animation_duration = 125;
|
||||
let animation_easing = "ease-in-out";
|
||||
let popup_type = "";
|
||||
let bg_file_for_del = "";
|
||||
|
@ -2345,6 +2345,10 @@ async function onExportPresetClick() {
|
||||
}
|
||||
|
||||
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);
|
||||
download(presetJsonString, oai_settings.preset_settings_openai, 'application/json');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user