mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 07:14:20 +00:00
Fix api dependencies not getting added to configuration
This commit is contained in:
parent
886a01ee2e
commit
a2470aae11
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@ def build_package(
|
|||
package_deps.pip_packages.extend(deps.pip_packages)
|
||||
|
||||
stub_config[api.value] = {"provider_id": api_input.provider}
|
||||
for dep_api, dep_spec in api_input.dependencies.items():
|
||||
if dep_api not in stub_config:
|
||||
stub_config[dep_api] = {"provider_id": dep_spec.provider_id}
|
||||
|
||||
if package_file.exists():
|
||||
cprint(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue