Explorar o código

fix: error message

Timothy J. Baek hai 1 ano
pai
achega
7aae0cab8d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/lib/components/chat/Settings/Connections.svelte

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

@@ -29,6 +29,7 @@
 		API_BASE_URL = await updateOllamaAPIUrl(localStorage.token, API_BASE_URL);
 
 		const ollamaVersion = await getOllamaVersion(localStorage.token).catch((error) => {
+			toast.error(error);
 			return null;
 		});