llama-stack-mirror/llama_stack/cli
Charlie Doern d0ec5c3d3a
fix: print proper template path upon build (#2642)
# What does this PR do?

Rather than pointing to a dir in `llama_stack/templates` (the repo
directory)

we should point to `$BUILD_DIR/IMAGE_NAME-run.yaml`
(`~/.llama/distributions/IMAGE_NAME/IMAGE_NAME-run.yaml`)

currently we are printing:

```
You can find the newly-built template here: /Users/charliedoern/projects/Documents/llama-stack/llama_stack/templates/starter/run.yaml
You can run the new Llama Stack distro via: llama stack run /Users/charliedoern/projects/Documents/llama-stack/llama_stack/templates/starter/run.yaml --image-type venv
```

but should be printing things like:

```
You can find the newly-built template here: /Users/charliedoern/.llama/distributions/starter/starter-run.yaml
You can run the new Llama Stack distro via: llama stack run /Users/charliedoern/.llama/distributions/starter/starter-run.yaml --image-type venv
```

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-07-07 15:39:39 -07:00
..
model chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
scripts API Updates (#73) 2024-09-17 19:51:35 -07:00
stack fix: print proper template path upon build (#2642) 2025-07-07 15:39:39 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
download.py feat: drop python 3.10 support (#2469) 2025-06-19 12:07:14 +05:30
llama.py chore: more mypy fixes (#2029) 2025-05-06 09:52:31 -07:00
subcommand.py API Updates (#73) 2024-09-17 19:51:35 -07:00
table.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
verify_download.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00