mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 23:51:00 +00:00
build msg
This commit is contained in:
parent
e1218a961d
commit
a42943c25b
1 changed files with 5 additions and 14 deletions
|
@ -210,21 +210,12 @@ class StackBuild(Subcommand):
|
||||||
if return_code != 0:
|
if return_code != 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
configure_name = (
|
# TODO: we should make the run.yaml file invisible to users by with ENV variables
|
||||||
build_config.name
|
# but keeping it visiable and exposed to users for now
|
||||||
if build_config.image_type == "conda"
|
cprint(
|
||||||
else (f"llamastack-{build_config.name}")
|
f"You can now edit run.yaml files in ./llama-stack/distributions/ and run `llama stack run <path/to/run.yaml>`",
|
||||||
|
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:
|
def _run_template_list_cmd(self, args: argparse.Namespace) -> None:
|
||||||
import json
|
import json
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue