refac: base models endpoint
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user