mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
Update llama_stack/distribution/server/server.py
Adding logger per request. Co-authored-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
e71a482d71
commit
b7072c3c67
1 changed files with 1 additions and 0 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue