mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
fix(shared-health-check): fix remaining 2-value return sites and update type annotation
This commit is contained in:
parent
a756424192
commit
6dfde8ce2b
1 changed files with 2 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class SharedHealthCheckManager:
|
|||
model_list: List[Dict[str, Any]],
|
||||
details: bool = True,
|
||||
max_concurrency: Optional[int] = None,
|
||||
) -> Tuple[List[Dict[str, Any]], List[Dict[str, Any]]]:
|
||||
) -> Tuple[List[Dict[str, Any]], List[Dict[str, Any]], Dict[str, Any]]:
|
||||
"""
|
||||
Perform health check with shared state coordination.
|
||||
|
||||
|
|
@ -266,6 +266,7 @@ class SharedHealthCheckManager:
|
|||
return (
|
||||
cached_results.get("healthy_endpoints", []),
|
||||
cached_results.get("unhealthy_endpoints", []),
|
||||
{},
|
||||
)
|
||||
|
||||
# Still no cache, fall back to local health check
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue