forked from open-webui/open-webui
chore: version check refac
This commit is contained in:
parent
cc49e0d10f
commit
b777b6d2aa
5 changed files with 56 additions and 35 deletions
|
@ -32,7 +32,7 @@ export const getOllamaVersion = async (
|
|||
throw error;
|
||||
}
|
||||
|
||||
return res?.version ?? '0';
|
||||
return res?.version ?? '';
|
||||
};
|
||||
|
||||
export const getOllamaModels = async (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue