fix(video): exclude dropdown separators from model resolution

The registry helpers filtered only the 'None' placeholder, so the eleven
LTX separator rows resolved as models and a POST naming one reached
load_model with a null repo. is_model() now covers both sentinel kinds.
This commit is contained in:
CalamitousFelicitousness
2026-08-14 01:14:27 +01:00
parent e72dee3fe1
commit c04fe7c9db
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ class APIVideo:
if engine is not None and family.lower() != engine.lower():
continue
for m in rows:
if m.name == 'None':
if not models_def.is_model(m):
continue
items.append(ItemVideoModel(
engine=family,