refac: loading

This commit is contained in:
Timothy J. Baek committed 2024-05-25 16:26:25 -07:00
1 parent c1526b0022
commit 1ab01170b9
3 files changed
+15 -7

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ export const getOllamaVersion = async (token: string = '') => {
throw error;
}
return res?.version ?? '';
return res?.version ?? false;
};
export const getOllamaModels = async (token: string = '') => {