chore: version check refac

This commit is contained in:
Timothy J. Baek committed 2023-12-26 13:10:50 -08:00
1 parent cc49e0d10f
commit b777b6d2aa
5 files changed
+56 -35

No files matched your search

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