Browse Source

add config update when deleting openai model

Yui 2 months ago
parent
commit
94c19f73b0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib/components/admin/Settings/Connections.svelte

+ 1 - 0
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}