This commit is contained in:
Timothy J. Baek 2024-10-09 12:36:52 -07:00
parent 7e253df175
commit ad31bd51fd

View File

@ -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')) {