From e3b9c24d8c4650f8907fb3cb97ced23b0161ad12 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Sat, 15 Apr 2023 19:47:41 +0300 Subject: [PATCH] Save OAI preset based on current settings --- public/scripts/openai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () {