Browse Source

fix: error message

Timothy J. Baek 1 year ago
parent
commit
7aae0cab8d
1 changed files with 1 additions and 0 deletions
  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;
 		});