diff --git a/llama_stack/distribution/utils/config_dirs.py b/llama_stack/distribution/utils/config_dirs.py index 3785f4507..eca59493f 100644 --- a/llama_stack/distribution/utils/config_dirs.py +++ b/llama_stack/distribution/utils/config_dirs.py @@ -8,7 +8,7 @@ import os from pathlib import Path -LLAMA_STACK_CONFIG_DIR = Path(os.path.expanduser("~/.llama/")) +LLAMA_STACK_CONFIG_DIR = Path(os.getenv("LLAMA_STACK_CONFIG_DIR", os.path.expanduser("~/.llama/"))) DISTRIBS_BASE_DIR = LLAMA_STACK_CONFIG_DIR / "distributions"