llama-stack/llama_stack/cli
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
..
model chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
scripts API Updates (#73) 2024-09-17 19:51:35 -07:00
stack fix: Pass external_config_dir to BuildConfig (#2190) 2025-05-19 14:01:28 +02:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
download.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
llama.py chore: more mypy fixes (#2029) 2025-05-06 09:52:31 -07:00
subcommand.py API Updates (#73) 2024-09-17 19:51:35 -07:00
table.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
verify_download.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00