refac: loading

This commit is contained in:
Timothy J. Baek
2024-05-25 16:26:25 -07:00
parent c1526b0022
commit 1ab01170b9
3 changed files with 15 additions and 7 deletions
+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 = '') => {