mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 20:07:49 +01:00
refac: base models endpoint
This commit is contained in:
@@ -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