llama-stack/llama_stack/cli/stack
Michael Anstis 0cc0731189
fix: Pass external_config_dir to BuildConfig (#2190)
# What does this PR do?

The `external_config_dir` configuration parameter is not being passed to
the `BuildConfig` for `LlamaStackAsLibraryClient`.

This prevents _plugin_ providers from being loaded when `llama-stack` is
uses as a library.

[//]: # (If resolving an issue, uncomment and update the line below)
[//]: # (Closes #[issue-number])

## Test Plan
I ran `LlamaStackAsLibraryClient` with a configuration file that
contained `external_config_dir` and related configuration.

It does not work without this change: _external_ providers are not
resolved.

It does work with this change 👍 

[//]: # (## Documentation)
2025-05-19 14:01:28 +02:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
_build.py fix: Pass external_config_dir to BuildConfig (#2190) 2025-05-19 14:01:28 +02:00
build.py feat: --image-type argument overrides value in --config build.yaml (#2179) 2025-05-16 14:45:41 -07:00
list_apis.py API Updates (#73) 2024-09-17 19:51:35 -07:00
list_providers.py chore: more mypy fixes (#2029) 2025-05-06 09:52:31 -07:00
run.py feat: refactor external providers dir (#2049) 2025-05-15 20:17:03 +02:00
stack.py fix: Incorrect import path for print_subcommand_description() (#1314) 2025-02-27 18:35:49 -08:00
utils.py fix: Use CONDA_DEFAULT_ENV presence as a flag to use conda mode (#1555) 2025-03-27 17:13:22 -04:00