mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
fix: no inline import
https://github.com/llamastack/llama-stack/pull/4191#discussion_r2557412421 Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
3dc5b5d3a0
commit
ead9e63ef8
1 changed files with 1 additions and 3 deletions
|
|
@ -10,6 +10,7 @@ from pydantic import BaseModel
|
|||
|
||||
from llama_stack.core.datatypes import StackRunConfig
|
||||
from llama_stack.core.external import load_external_apis
|
||||
from llama_stack.core.resolver import api_protocol_map
|
||||
from llama_stack.core.server.fastapi_router_registry import build_fastapi_router
|
||||
from llama_stack.core.server.routes import get_all_api_routes
|
||||
from llama_stack_api import (
|
||||
|
|
@ -108,9 +109,6 @@ class DistributionInspectImpl(Inspect):
|
|||
return not route_deprecated and prefix_level == api_filter
|
||||
return not route_deprecated
|
||||
|
||||
# Process router-based routes
|
||||
from llama_stack.core.resolver import api_protocol_map
|
||||
|
||||
protocols = api_protocol_map(external_apis)
|
||||
for api in protocols.keys():
|
||||
# For route inspection, we don't need a real implementation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue