mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
fix run-config/config-file to config
This commit is contained in:
parent
ace3953926
commit
6c97e84372
4 changed files with 14 additions and 16 deletions
|
@ -60,7 +60,7 @@ class StackRun(Subcommand):
|
|||
default=False,
|
||||
)
|
||||
self.parser.add_argument(
|
||||
"--run-config",
|
||||
"--config",
|
||||
type=str,
|
||||
help="Path to config file to use for the run",
|
||||
)
|
||||
|
@ -69,8 +69,8 @@ class StackRun(Subcommand):
|
|||
from llama_toolchain.common.exec import run_with_pty
|
||||
from llama_toolchain.core.package import BuildType
|
||||
|
||||
if args.run_config:
|
||||
path = args.run_config
|
||||
if args.config:
|
||||
path = args.config
|
||||
else:
|
||||
build_type = BuildType(args.type)
|
||||
build_dir = BUILDS_BASE_DIR / args.distribution / build_type.descriptor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue