mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
clean up
This commit is contained in:
parent
5930a92dc7
commit
38e31ab525
1 changed files with 0 additions and 6 deletions
|
@ -56,12 +56,6 @@ async def get_auto_router_impl(api: Api, routing_table: RoutingTable, _deps) ->
|
||||||
if api.value not in api_to_routers:
|
if api.value not in api_to_routers:
|
||||||
raise ValueError(f"API {api.value} not found in router map")
|
raise ValueError(f"API {api.value} not found in router map")
|
||||||
|
|
||||||
# api_with_deps = {"scoring"}
|
|
||||||
# if api.value in api_with_deps:
|
|
||||||
# impl = api_to_routers[api.value](routing_table, _deps)
|
|
||||||
# else:
|
|
||||||
# impl = api_to_routers[api.value](routing_table)
|
|
||||||
|
|
||||||
impl = api_to_routers[api.value](routing_table)
|
impl = api_to_routers[api.value](routing_table)
|
||||||
await impl.initialize()
|
await impl.initialize()
|
||||||
return impl
|
return impl
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue