mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 20:14:13 +00:00
We don't need to confuse people by a complex config line when name works
This commit is contained in:
parent
ab46465070
commit
54a73b4778
2 changed files with 4 additions and 4 deletions
|
@ -127,7 +127,7 @@ class StackBuild(Subcommand):
|
||||||
else (f"llamastack-{build_config.name}")
|
else (f"llamastack-{build_config.name}")
|
||||||
)
|
)
|
||||||
cprint(
|
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",
|
color="green",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -45,10 +45,10 @@ class StackConfigure(Subcommand):
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
from termcolor import cprint
|
||||||
|
|
||||||
from llama_stack.distribution.build import ImageType
|
from llama_stack.distribution.build import ImageType
|
||||||
from llama_stack.distribution.utils.exec import run_with_pty
|
from llama_stack.distribution.utils.exec import run_with_pty
|
||||||
from termcolor import cprint
|
|
||||||
|
|
||||||
docker_image = None
|
docker_image = None
|
||||||
|
|
||||||
|
@ -121,10 +121,10 @@ class StackConfigure(Subcommand):
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
import yaml
|
import yaml
|
||||||
|
from termcolor import cprint
|
||||||
|
|
||||||
from llama_stack.distribution.configure import configure_api_providers
|
from llama_stack.distribution.configure import configure_api_providers
|
||||||
from llama_stack.distribution.utils.serialize import EnumEncoder
|
from llama_stack.distribution.utils.serialize import EnumEncoder
|
||||||
from termcolor import cprint
|
|
||||||
|
|
||||||
builds_dir = BUILDS_BASE_DIR / build_config.image_type
|
builds_dir = BUILDS_BASE_DIR / build_config.image_type
|
||||||
if output_dir:
|
if output_dir:
|
||||||
|
@ -165,6 +165,6 @@ class StackConfigure(Subcommand):
|
||||||
)
|
)
|
||||||
|
|
||||||
cprint(
|
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",
|
color="green",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue