Use ModelCapabilities consistently instead of dictionaries
Moved aliases as part of SUPPORTED_MODELS instead of shorthand, more in line with how custom_models are declared Further refactoring to cleanup some code
This commit is contained in:
@@ -59,7 +59,7 @@ class TestAutoMode:
|
||||
continue
|
||||
|
||||
# Check that model has description
|
||||
description = config.get("description", "")
|
||||
description = config.description if hasattr(config, "description") else ""
|
||||
if description:
|
||||
models_with_descriptions[model_name] = description
|
||||
|
||||
|
||||
Reference in New Issue
Block a user