refac: base models endpoint

This commit is contained in:
Timothy Jaeryang Baek committed 2024-11-15 19:14:24 -08:00
1 parent 7e78889e33
commit 19c98b74fa
3 files changed
+19 -8

No files matched your search

@@ -43,7 +43,7 @@
const init = async () => {
const workspaceModels = await getBaseModels(localStorage.token);
const allModels = await getModels(localStorage.token);
const allModels = await getModels(localStorage.token, true);
models = allModels
.filter((m) => !(m?.preset ?? false))