This commit is contained in:
Timothy Jaeryang Baek
2024-11-26 10:17:17 -08:00
parent a18292da84
commit 44efd4d372
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@
onMount(async () => {
config = await getModelsConfig(localStorage.token);
defaultModelIds = config.DEFAULT_MODELS.split(',').filter((id) => id);
defaultModelIds = (config?.DEFAULT_MODELS ?? '').split(',').filter((id) => id);
const modelOrderList = config.MODEL_ORDER_LIST || [];
const allModelIds = $models.map((model) => model.id);