From 54a73b4778ce27e240343a1c07c254a447771d0c Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Mon, 23 Sep 2024 13:21:48 -0700 Subject: [PATCH] We don't need to confuse people by a complex config line when name works --- llama_stack/cli/stack/build.py | 2 +- llama_stack/cli/stack/configure.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llama_stack/cli/stack/build.py b/llama_stack/cli/stack/build.py index faaf199f4..2321c8f2f 100644 --- a/llama_stack/cli/stack/build.py +++ b/llama_stack/cli/stack/build.py @@ -127,7 +127,7 @@ class StackBuild(Subcommand): else (f"llamastack-{build_config.name}") ) cprint( - f"You may now run `llama stack configure {configure_name}` or `llama stack configure {str(build_file_path)}`", + f"You can now run `llama stack configure {configure_name}`", color="green", ) diff --git a/llama_stack/cli/stack/configure.py b/llama_stack/cli/stack/configure.py index 1c4453e90..58f383a37 100644 --- a/llama_stack/cli/stack/configure.py +++ b/llama_stack/cli/stack/configure.py @@ -45,10 +45,10 @@ class StackConfigure(Subcommand): import pkg_resources import yaml + from termcolor import cprint from llama_stack.distribution.build import ImageType from llama_stack.distribution.utils.exec import run_with_pty - from termcolor import cprint docker_image = None @@ -121,10 +121,10 @@ class StackConfigure(Subcommand): from pathlib import Path import yaml + from termcolor import cprint from llama_stack.distribution.configure import configure_api_providers from llama_stack.distribution.utils.serialize import EnumEncoder - from termcolor import cprint builds_dir = BUILDS_BASE_DIR / build_config.image_type if output_dir: @@ -165,6 +165,6 @@ class StackConfigure(Subcommand): ) cprint( - f"You can now run `llama stack run {image_name} --port PORT` or `llama stack run {run_config_file} --port PORT`", + f"You can now run `llama stack run {image_name} --port PORT`", color="green", )