mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
fix prompt with name args (#80)
This commit is contained in:
parent
c63d6cbd08
commit
6302a1ee90
1 changed files with 7 additions and 1 deletions
|
@ -191,7 +191,13 @@ class StackBuild(Subcommand):
|
|||
return
|
||||
|
||||
if not args.config and not args.template:
|
||||
name = prompt("> Enter a name for your Llama Stack (e.g. my-local-stack): ")
|
||||
if not args.name:
|
||||
name = prompt(
|
||||
"> Enter a name for your Llama Stack (e.g. my-local-stack): "
|
||||
)
|
||||
else:
|
||||
name = args.name
|
||||
|
||||
image_type = prompt(
|
||||
"> Enter the image type you want your Llama Stack to be built as (docker or conda): ",
|
||||
validator=Validator.from_callable(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue