Skip to content

Commit

Permalink
fix(cli): Missing default for --image-type in stack run command (#1274)
Browse files Browse the repository at this point in the history
# What does this PR do?

I think this got accidentally removed as part of
#1250. cc @leseb

## Test Plan

After the change, this arg is no longer required.

Signed-off-by: Yuan Tang <[email protected]>
  • Loading branch information
terrytangyuan authored Feb 26, 2025
1 parent 4cf9547 commit 2ed2c0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llama_stack/cli/stack/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def _add_arguments(self):
type=str,
help="Image Type used during the build. This can be either conda or container or venv.",
choices=["conda", "container", "venv"],
default="conda",
)

def _run_stack_run_cmd(self, args: argparse.Namespace) -> None:
Expand Down

0 comments on commit 2ed2c0b

Please sign in to comment.