refac: loading
This commit is contained in:
@@ -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