diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 36e459ab3..4bbfa2aa4 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -929,7 +929,7 @@ $(document).ready(function () { return; } - await saveOpenAIPreset(name, default_settings); + await saveOpenAIPreset(name, oai_settings); }); $("#main_prompt_restore").click(function () {