mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Filter null-values from /model selection
This commit is contained in:
@ -3470,7 +3470,7 @@ function getModelOptions(quiet) {
|
||||
return nullResult;
|
||||
}
|
||||
|
||||
const options = Array.from(modelSelectControl.options);
|
||||
const options = Array.from(modelSelectControl.options).filter(x => x.value);
|
||||
return { control: modelSelectControl, options };
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user