llama-stack-mirror/llama_stack/cli/stack
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
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
build.py Validate name in llama stack build (#128) 2024-09-27 13:30:55 -07:00
configure.py Some lightweight cleanup and renaming for bedrock safety adapter 2024-09-24 19:29:56 -07:00
list_apis.py API Updates (#73) 2024-09-17 19:51:35 -07:00
list_providers.py [API Updates] Model / shield / memory-bank routing + agent persistence + support for private headers (#92) 2024-09-23 14:22:22 -07:00
run.py CLI: add build templates support, move imports (#77) 2024-09-18 14:25:53 -07:00
stack.py API Updates (#73) 2024-09-17 19:51:35 -07:00