feat(app): better error message for failed model probe

- Old: No valid config found
- New: Unable to determine model type
This commit is contained in:
psychedelicious
2025-07-11 18:29:20 +10:00
parent 757ecdbf82
commit e62d3f01a8

View File

@ -187,7 +187,7 @@ class ModelConfigBase(ABC, BaseModel):
else:
return config_cls.from_model_on_disk(mod, **overrides)
raise InvalidModelConfigException("No valid config found")
raise InvalidModelConfigException("Unable to determine model type")
@classmethod
def get_tag(cls) -> Tag: