llama-stack-mirror/llama_stack/cli/model
ehhuang 256448c14e
fix(cli): llama model prompt-format (#1481)
Summary:

+ llama model prompt-format -m Llama3.2-11B-Vision-Instruct
Traceback (most recent call last):
  File "/tmp/tmp.gCwyyCcjoA/.venv/bin/llama", line 10, in <module>
    sys.exit(main())
File
"/tmp/tmp.gCwyyCcjoA/.venv/lib/python3.10/site-packages/llama_stack/cli/llama.py",
line 50, in main
    parser.run(args)
File
"/tmp/tmp.gCwyyCcjoA/.venv/lib/python3.10/site-packages/llama_stack/cli/llama.py",
line 44, in run
    args.func(args)
File
"/tmp/tmp.gCwyyCcjoA/.venv/lib/python3.10/site-packages/llama_stack/cli/model/prompt_format.py",
line 59, in _run_model_template_cmd
    if args.list:
AttributeError: 'Namespace' object has no attribute 'list'

Test Plan:
llama model prompt-format -m Llama3.2-11B-Vision-Instruct
2025-03-07 11:45:54 -08:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
describe.py fix: resolve pydantic warning on .dict() usage (#1445) 2025-03-06 11:27:47 -08:00
download.py API Updates (#73) 2024-09-17 19:51:35 -07:00
list.py feat: add substring search for model list (#1099) 2025-02-21 16:38:10 -08:00
model.py fix: Incorrect import path for print_subcommand_description() (#1313) 2025-02-27 21:24:01 -05:00
prompt_format.py fix(cli): llama model prompt-format (#1481) 2025-03-07 11:45:54 -08:00
remove.py feat: model remove cmd (#1128) 2025-02-21 08:05:12 -08:00
safety_models.py chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
verify_download.py style: update verify-download help text (#1134) 2025-02-18 10:15:26 -08:00