mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 21:38:43 +00:00
refac
This commit is contained in:
parent
7e253df175
commit
ad31bd51fd
@ -427,7 +427,11 @@
|
||||
console.log($config?.default_models.split(',') ?? '');
|
||||
selectedModels = $config?.default_models.split(',');
|
||||
} else {
|
||||
selectedModels = [''];
|
||||
if ($models.length > 0) {
|
||||
selectedModels = [$models[0].id];
|
||||
} else {
|
||||
selectedModels = [''];
|
||||
}
|
||||
}
|
||||
|
||||
if ($page.url.searchParams.get('youtube')) {
|
||||
|
Loading…
Reference in New Issue
Block a user