From c5c400b9f05d9b4498cee89745209d6534346cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 19 Jun 2025 15:02:27 +0200 Subject: [PATCH] fix: remove asyncio.TimeoutError since Python update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since we now support Pythong starting from 3.11, this is not needed anymore. Signed-off-by: Sébastien Han --- llama_stack/distribution/routers/vector_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama_stack/distribution/routers/vector_io.py b/llama_stack/distribution/routers/vector_io.py index c4191b8a1..3001b8666 100644 --- a/llama_stack/distribution/routers/vector_io.py +++ b/llama_stack/distribution/routers/vector_io.py @@ -289,7 +289,7 @@ class VectorIORouter(VectorIO): continue health = await asyncio.wait_for(impl.health(), timeout=timeout) health_statuses[provider_id] = health - except (asyncio.TimeoutError, TimeoutError): + except TimeoutError: health_statuses[provider_id] = HealthResponse( status=HealthStatus.ERROR, message=f"Health check timed out after {timeout} seconds",