From 94c19f73b09b7d37c9684f314822cee980f4f2cb Mon Sep 17 00:00:00 2001 From: Yui Date: Thu, 27 Feb 2025 20:41:30 +0100 Subject: [PATCH] add config update when deleting openai model --- src/lib/components/admin/Settings/Connections.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/components/admin/Settings/Connections.svelte b/src/lib/components/admin/Settings/Connections.svelte index 893330f1c..2fcfadaec 100644 --- a/src/lib/components/admin/Settings/Connections.svelte +++ b/src/lib/components/admin/Settings/Connections.svelte @@ -274,6 +274,7 @@ newConfig[newIdx] = OPENAI_API_CONFIGS[newIdx < idx ? newIdx : newIdx + 1]; }); OPENAI_API_CONFIGS = newConfig; + updateOpenAIHandler(); }} /> {/each}