From e93424b2cf6882d48e7961bb21e2cb56a1ad8e42 Mon Sep 17 00:00:00 2001 From: maver Date: Mon, 3 Jul 2023 20:15:45 +0200 Subject: [PATCH] Don't use debounce for prompt manager save settings function --- 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 6e7df201e..1c13b4a6f 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -297,7 +297,7 @@ function setupOpenAIPromptManager(openAiSettings) { }; promptManager.saveServiceSettings = () => { - saveSettingsDebounced(); + return saveSettings(); } promptManager.tryGenerate = () => {