mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-01 20:39:59 +00:00
optional api dependencies
This commit is contained in:
parent
1f60c0286d
commit
65e64f6877
5 changed files with 11 additions and 2 deletions
|
|
@ -229,6 +229,9 @@ async def resolve_impls(
|
|||
inner_impls_by_provider_id = {f"inner-{x.value}": {} for x in router_apis}
|
||||
for api_str, provider in sorted_providers:
|
||||
deps = {a: impls[a] for a in provider.spec.api_dependencies}
|
||||
for a in provider.spec.optional_api_dependencies:
|
||||
if a in impls:
|
||||
deps[a] = impls[a]
|
||||
|
||||
inner_impls = {}
|
||||
if isinstance(provider.spec, RoutingTableProviderSpec):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue