mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
style: black format health_check.py
This commit is contained in:
parent
65061b1e3c
commit
0acd05207b
1 changed files with 3 additions and 1 deletions
|
|
@ -246,7 +246,9 @@ async def _perform_health_check(
|
|||
cleaned["model_id"] = _model_id
|
||||
if isinstance(is_healthy, Exception):
|
||||
exceptions_by_model_id[_model_id] = is_healthy
|
||||
cleaned["exception_status"] = getattr(is_healthy, "status_code", 500)
|
||||
cleaned["exception_status"] = getattr(
|
||||
is_healthy, "status_code", 500
|
||||
)
|
||||
unhealthy_endpoints.append(cleaned)
|
||||
|
||||
return healthy_endpoints, unhealthy_endpoints, exceptions_by_model_id
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue