mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-29 15:23:51 +00:00
fix build command
This commit is contained in:
parent
0981193d78
commit
5bf2fe452d
1 changed files with 3 additions and 3 deletions
|
@ -8,6 +8,7 @@ import argparse
|
|||
|
||||
from llama_toolchain.cli.subcommand import Subcommand
|
||||
from llama_toolchain.core.datatypes import * # noqa: F403
|
||||
import yaml
|
||||
from llama_toolchain.common.config_dirs import DISTRIBS_BASE_DIR
|
||||
|
||||
|
||||
|
@ -55,14 +56,14 @@ class StackBuild(Subcommand):
|
|||
|
||||
allowed_ids = [d.distribution_type for d in available_distribution_specs()]
|
||||
self.parser.add_argument(
|
||||
"distribution",
|
||||
"--distribution",
|
||||
type=str,
|
||||
help='Distribution to build (either "adhoc" OR one of: {})'.format(
|
||||
allowed_ids
|
||||
),
|
||||
)
|
||||
self.parser.add_argument(
|
||||
"api_providers",
|
||||
"--api-providers",
|
||||
nargs="?",
|
||||
help="Comma separated list of (api=provider) tuples",
|
||||
)
|
||||
|
@ -71,7 +72,6 @@ class StackBuild(Subcommand):
|
|||
"--name",
|
||||
type=str,
|
||||
help="Name of the build target (image, conda env)",
|
||||
required=True,
|
||||
)
|
||||
self.parser.add_argument(
|
||||
"--package-type",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue