refactor: removed hook from base class, turned into helper static method instead

This commit is contained in:
Fahad
2025-10-02 08:45:59 +04:00
parent 250545e34f
commit 2b10adcaf2
4 changed files with 18 additions and 45 deletions

View File

@@ -299,13 +299,3 @@ class OpenRouterProvider(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()