From a42943c25bee05bf19299cfa5ecc884190930b52 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Mon, 4 Nov 2024 19:50:23 -0800 Subject: [PATCH] build msg --- llama_stack/cli/stack/build.py | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/llama_stack/cli/stack/build.py b/llama_stack/cli/stack/build.py index 0ba39265b..93ca4924e 100644 --- a/llama_stack/cli/stack/build.py +++ b/llama_stack/cli/stack/build.py @@ -210,21 +210,12 @@ class StackBuild(Subcommand): if return_code != 0: return - configure_name = ( - build_config.name - if build_config.image_type == "conda" - else (f"llamastack-{build_config.name}") + # TODO: we should make the run.yaml file invisible to users by with ENV variables + # but keeping it visiable and exposed to users for now + cprint( + f"You can now edit run.yaml files in ./llama-stack/distributions/ and run `llama stack run `", + color="green", ) - if build_config.image_type == "conda": - cprint( - f"You can now run `llama stack configure {configure_name}`", - color="green", - ) - else: - cprint( - f"You can now edit your run.yaml file and run `docker run -it -p 5000:5000 {build_config.name}`. See full command in llama-stack/distributions/", - color="green", - ) def _run_template_list_cmd(self, args: argparse.Namespace) -> None: import json