mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 12:07:34 +00:00
Fixes to llama stack commands and update docs
This commit is contained in:
parent
5927f3c3c0
commit
279565499b
4 changed files with 22 additions and 21 deletions
|
@ -44,13 +44,13 @@ class StackConfigure(Subcommand):
|
|||
help="Distribution (one of: {})".format(allowed_ids),
|
||||
)
|
||||
self.parser.add_argument(
|
||||
"--build-name",
|
||||
"--name",
|
||||
type=str,
|
||||
help="Name of the build",
|
||||
required=True,
|
||||
)
|
||||
self.parser.add_argument(
|
||||
"--build-type",
|
||||
"--type",
|
||||
type=str,
|
||||
default="conda_env",
|
||||
choices=[v.value for v in BuildType],
|
||||
|
@ -59,8 +59,8 @@ class StackConfigure(Subcommand):
|
|||
def _run_stack_configure_cmd(self, args: argparse.Namespace) -> None:
|
||||
from llama_toolchain.core.package import BuildType
|
||||
|
||||
build_type = BuildType(args.build_type)
|
||||
name = args.build_name
|
||||
build_type = BuildType(args.type)
|
||||
name = args.name
|
||||
config_file = (
|
||||
BUILDS_BASE_DIR
|
||||
/ args.distribution
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue