llama-stack-mirror/llama_stack/cli
Ignas Baranauskas c70ca8344f
fix: resolve template name to config path in llama stack run (#2361)
# What does this PR do?
<!-- Provide a short summary of what this PR does and why. Link to
relevant issues if applicable. -->
This PR fixes a bug where running a known template by name using:
`llama stack run ollama`
would fail with the following error:
`ValueError: Config file ollama does not exist`

<!-- If resolving an issue, uncomment and update the line below -->
Closes #2291 

## Test Plan
<!-- Describe the tests you ran to verify your changes with result
summaries. *Provide clear instructions so the plan can be easily
re-executed.* -->
`llama stack run ollama` should work
2025-06-03 14:39:12 -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: resolve template name to config path in llama stack run (#2361) 2025-06-03 14:39:12 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
download.py chore: make cprint write to stderr (#2250) 2025-05-24 23:39:57 -07:00
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