feat: unified models integration

This commit is contained in:
Timothy J. Baek
2024-05-24 03:02:56 -07:00
parent e80e4c304a
commit 468c6398cd
9 changed files with 94 additions and 92 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export const getModels = async (token: string = '') => {
let models = res?.data ?? [];
models = models.filter((models) => models).reduce((a, e, i, arr) => a.concat(e), []);
models = models.filter((models) => models).sort((a, b) => (a.name > b.name ? 1 : -1));
console.log(models);
return models;