mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
Update litellm/proxy/management_endpoints/usage_endpoints/ai_usage_chat.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
d1705a02be
commit
f92f1a322c
1 changed files with 4 additions and 1 deletions
|
|
@ -513,7 +513,10 @@ def _get_proxy_router():
|
|||
"""Return the global proxy router when available."""
|
||||
try:
|
||||
from litellm.proxy.proxy_server import llm_router
|
||||
except Exception:
|
||||
except Exception as exc:
|
||||
verbose_proxy_logger.debug(
|
||||
"Could not import llm_router, falling back to litellm: %s", exc
|
||||
)
|
||||
return None
|
||||
return llm_router
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue