llama-stack-mirror/llama_stack/scripts
Ashwin Bharambe 314ee09ae3
chore: move all Llama Stack types from llama-models to llama-stack (#1098)
llama-models should have extremely minimal cruft. Its sole purpose
should be didactic -- show the simplest implementation of the llama
models and document the prompt formats, etc.

This PR is the complement to
https://github.com/meta-llama/llama-models/pull/279

## Test Plan

Ensure all `llama` CLI `model` sub-commands work:

```bash
llama model list
llama model download --model-id ...
llama model prompt-format -m ...
```

Ran tests:
```bash
cd tests/client-sdk
LLAMA_STACK_CONFIG=fireworks pytest -s -v inference/
LLAMA_STACK_CONFIG=fireworks pytest -s -v vector_io/
LLAMA_STACK_CONFIG=fireworks pytest -s -v agents/
```

Create a fresh venv `uv venv && source .venv/bin/activate` and run
`llama stack build --template fireworks --image-type venv` followed by
`llama stack run together --image-type venv` <-- the server runs

Also checked that the OpenAPI generator can run and there is no change
in the generated files as a result.

```bash
cd docs/openapi_generator
sh run_openapi_generator.sh
```
2025-02-14 09:10:59 -08:00
..
__init__.py Add a test runner and 2 very simple tests for agents 2024-09-19 12:22:48 -07:00
distro_codegen.py build: format codebase imports using ruff linter (#1028) 2025-02-13 10:06:21 -08:00
generate_prompt_format.py chore: move all Llama Stack types from llama-models to llama-stack (#1098) 2025-02-14 09:10:59 -08:00
install_packages.sh Use uv pip install instead of pip install (#921) 2025-01-31 22:29:41 -08:00
run_tests.sh Add a test for CLI, but not fully done so disabled 2024-09-19 13:27:07 -07:00
test_rag_via_curl.py Fix precommit check after moving to ruff (#927) 2025-02-02 06:46:45 -08:00