mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
Update litellm/proxy/public_endpoints/public_endpoints.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
74fb6b5c49
commit
d0903e9ec0
1 changed files with 2 additions and 2 deletions
|
|
@ -337,8 +337,8 @@ async def get_supported_endpoints() -> SupportedEndpointsResponse:
|
|||
"""
|
||||
global _cached_endpoints
|
||||
if _cached_endpoints is None:
|
||||
_cached_endpoints = _load_endpoints()
|
||||
return SupportedEndpointsResponse(endpoints=_cached_endpoints)
|
||||
_cached_endpoints = SupportedEndpointsResponse(endpoints=_load_endpoints())
|
||||
return _cached_endpoints
|
||||
|
||||
|
||||
@router.get(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue