Skip to content

Commit ead9e63

Browse files
committed
fix: no inline import
#4191 (comment) Signed-off-by: Sébastien Han <[email protected]>
1 parent 3dc5b5d commit ead9e63

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/llama_stack/core/inspect.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
from llama_stack.core.datatypes import StackRunConfig
1212
from llama_stack.core.external import load_external_apis
13+
from llama_stack.core.resolver import api_protocol_map
1314
from llama_stack.core.server.fastapi_router_registry import build_fastapi_router
1415
from llama_stack.core.server.routes import get_all_api_routes
1516
from llama_stack_api import (
@@ -108,9 +109,6 @@ def should_include_router_route(route, router_prefix: str | None) -> bool:
108109
return not route_deprecated and prefix_level == api_filter
109110
return not route_deprecated
110111

111-
# Process router-based routes
112-
from llama_stack.core.resolver import api_protocol_map
113-
114112
protocols = api_protocol_map(external_apis)
115113
for api in protocols.keys():
116114
# For route inspection, we don't need a real implementation

0 commit comments

Comments
 (0)