Skip to content

Commit 3aba169

Browse files
committed
remove default for --image-type so we can detect user intent
1 parent 8a18d5e commit 3aba169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_stack/cli/stack/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def _add_arguments(self):
4949
type=str,
5050
help="Image Type to use for the build. If not specified, will use the image type from the template config.",
5151
choices=[e.value for e in ImageType],
52-
default=ImageType.CONDA.value,
52+
default=None, # no default so we can detect if a user specified --image-type and override image_type in the config
5353
)
5454

5555
self.parser.add_argument(

0 commit comments

Comments
 (0)