mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 10:54:19 +00:00
fix ruff pre-commit
This commit is contained in:
parent
3840ef7a98
commit
44401f0a88
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ class InferenceRouter(Inference):
|
||||||
|
|
||||||
async def health(self) -> dict[str, HealthResponse]:
|
async def health(self) -> dict[str, HealthResponse]:
|
||||||
health_statuses = {}
|
health_statuses = {}
|
||||||
timeout = 1 # increasing the timeout to 1 second for health checks
|
timeout = 1 # increasing the timeout to 1 second for health checks
|
||||||
for provider_id, impl in self.routing_table.impls_by_provider_id.items():
|
for provider_id, impl in self.routing_table.impls_by_provider_id.items():
|
||||||
try:
|
try:
|
||||||
# check if the provider has a health method
|
# check if the provider has a health method
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue