This commit is contained in:
Timothy J. Baek 2024-10-22 12:05:48 -07:00
parent b31d314638
commit 04b324996c

View File

@ -475,10 +475,12 @@
selectedModels = $config?.default_models.split(',');
}
if ($models.length > 0) {
selectedModels = [$models[0].id];
} else {
selectedModels = [''];
if (selectedModels.length === 0) {
if ($models.length > 0) {
selectedModels = [$models[0].id];
} else {
selectedModels = [''];
}
}
if ($page.url.searchParams.get('youtube')) {