refac: base models endpoint

This commit is contained in:
Timothy Jaeryang Baek
2024-11-15 19:14:24 -08:00
parent 7e78889e33
commit 19c98b74fa
3 changed files with 19 additions and 8 deletions

View File

@@ -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))