mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-02 02:11:58 +00:00
style(usage-ai-chat): apply black formatting
This commit is contained in:
parent
1959d42546
commit
3f695379d6
1 changed files with 2 additions and 3 deletions
|
|
@ -438,9 +438,8 @@ def _resolve_usage_chat_model_alias(model: str) -> str:
|
|||
try:
|
||||
from litellm.proxy.proxy_server import llm_router
|
||||
|
||||
if (
|
||||
llm_router is not None
|
||||
and resolved_model in getattr(llm_router, "model_group_alias", {})
|
||||
if llm_router is not None and resolved_model in getattr(
|
||||
llm_router, "model_group_alias", {}
|
||||
):
|
||||
return llm_router._get_model_from_alias(resolved_model)
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue