llama-stack-mirror/llama_stack/cli
Russell Bryant fb9e6371ec
Validate name in llama stack build (#128)
The first time I ran `llama stack build`, I quickly hit enter at the
first prompt asking for a name, assuming it would use the default
given in the help text. This caused a failure later on that wasn't
very obvious. I was using the `docker` format and a blank name caused
an invalid tag format that failed the image build.

This change adds validation for the `name` parameter to ensure it's
not empty before proceeding.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
2024-09-27 13:30:55 -07:00
..
model minor typo and HuggingFace -> Hugging Face (#113) 2024-09-26 09:48:23 -07:00
scripts API Updates (#73) 2024-09-17 19:51:35 -07:00
stack Validate name in llama stack build (#128) 2024-09-27 13:30:55 -07:00
tests Add a test for CLI, but not fully done so disabled 2024-09-19 13:27:07 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
download.py Support for Llama3.2 models and Swift SDK (#98) 2024-09-25 10:29:58 -07:00
llama.py API Updates (#73) 2024-09-17 19:51:35 -07:00
subcommand.py API Updates (#73) 2024-09-17 19:51:35 -07:00
table.py API Updates (#73) 2024-09-17 19:51:35 -07:00