Timothy J. Baek 11 months ago
parent
commit
bdcfbfeb11
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/lib/components/chat/Settings/Connections.svelte

+ 4 - 0
src/lib/components/chat/Settings/Connections.svelte

@@ -54,6 +54,8 @@
 				pipelineUrls[OPENAI_API_BASE_URLS[idx]] = true;
 			}
 		}
+
+		await models.set(await getModels());
 	};
 
 	const verifyOllamaHandler = async (idx) => {
@@ -67,6 +69,8 @@
 		if (res) {
 			toast.success($i18n.t('Server connection verified'));
 		}
+
+		await models.set(await getModels());
 	};
 
 	const updateOpenAIHandler = async () => {