This commit is contained in:
Xi Yan 2024-09-18 11:33:06 -07:00
parent 0fa7f1d1aa
commit 51206f60ca

View file

@ -87,10 +87,10 @@ class StackBuild(Subcommand):
if not args.config: if not args.config:
name = prompt( name = prompt(
"> Enter a unique name for identifying your Llama Stack build distribution (e.g. my-local-stack): " "> Enter a unique name for identifying your Llama Stack build (e.g. my-local-stack): "
) )
image_type = prompt( image_type = prompt(
"> Enter the image type you want your distribution to be built as (docker or conda): ", "> Enter the image type you want your Llama Stack to be built as (docker or conda): ",
validator=Validator.from_callable( validator=Validator.from_callable(
lambda x: x in ["docker", "conda"], lambda x: x in ["docker", "conda"],
error_message="Invalid image type, please enter conda or docker", error_message="Invalid image type, please enter conda or docker",
@ -128,7 +128,7 @@ class StackBuild(Subcommand):
providers[api.value] = api_provider providers[api.value] = api_provider
description = prompt( description = prompt(
"\n > (Optional) Enter a short description for your Llama Stack distribution: ", "\n > (Optional) Enter a short description for your Llama Stack: ",
default="", default="",
) )