mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 05:45:19 +00:00
refac
This commit is contained in:
parent
dc7221816f
commit
442f99e075
1 changed files with 2 additions and 0 deletions
|
|
@ -51,6 +51,8 @@
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
config = await getModelsConfig(localStorage.token);
|
config = await getModelsConfig(localStorage.token);
|
||||||
|
|
||||||
|
defaultModelIds = config.DEFAULT_MODELS.split(',').filter((id) => id);
|
||||||
|
|
||||||
const modelOrderList = config.MODEL_ORDER_LIST || [];
|
const modelOrderList = config.MODEL_ORDER_LIST || [];
|
||||||
const allModelIds = $models.map((model) => model.id);
|
const allModelIds = $models.map((model) => model.id);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue