refactor: removed hook from base class, turned into helper static method instead
This commit is contained in:
@@ -367,13 +367,3 @@ class CustomProvider(OpenAICompatibleProvider):
|
||||
configs[model_name] = config
|
||||
|
||||
return configs
|
||||
|
||||
def get_all_model_aliases(self) -> dict[str, list[str]]:
|
||||
"""Get all model aliases from the registry.
|
||||
|
||||
Returns:
|
||||
Dictionary mapping model names to their list of aliases
|
||||
"""
|
||||
# Since aliases are now included in the configurations,
|
||||
# we can use the base class implementation
|
||||
return super().get_all_model_aliases()
|
||||
|
||||
Reference in New Issue
Block a user