From b7072c3c67001a7b0fb0c452156e49a631875fc5 Mon Sep 17 00:00:00 2001 From: Peter Double <134428501+solaius@users.noreply.github.com> Date: Tue, 1 Apr 2025 05:29:14 -0400 Subject: [PATCH] Update llama_stack/distribution/server/server.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adding logger per request. Co-authored-by: Sébastien Han --- llama_stack/distribution/server/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llama_stack/distribution/server/server.py b/llama_stack/distribution/server/server.py index 2a11dd728..efdc7c46e 100644 --- a/llama_stack/distribution/server/server.py +++ b/llama_stack/distribution/server/server.py @@ -247,6 +247,7 @@ class TracingMiddleware: # Check if the path is a FastAPI built-in path if any(path.startswith(fastapi_path) for fastapi_path in self.fastapi_paths): # Pass through to FastAPI's built-in handlers + logger.debug(f"Bypassing custom routing for FastAPI built-in path: {path}") return await self.app(scope, receive, send) if not hasattr(self, "endpoint_impls"):