chore: version check refac

This commit is contained in:
Timothy J. Baek 2023-12-26 13:10:50 -08:00
parent cc49e0d10f
commit b777b6d2aa
5 changed files with 56 additions and 35 deletions

View file

@ -32,7 +32,7 @@ export const getOllamaVersion = async (
throw error;
}
return res?.version ?? '0';
return res?.version ?? '';
};
export const getOllamaModels = async (