refac: loading
This commit is contained in:
1 parent
c1526b0022
commit
1ab01170b9
3 files changed
+15
-7
No files matched your search
@@ -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 = '') => {
|
||||
|
||||
Reference in new issue
Block a user