llama-stack-mirror/llama_stack
Russell Bryant 31e235490c Fix TypeError when CONDA_PREFIX is not set
I ran a build with the mode set to `conda` by accident and did not
have the `CONDA_PREFIX` env var set. In that case, `os.getenv` returns
`None`, and passing `None` to create an `os.Path` is not valid. It
will raise a `TypeError`.

> TypeError: expected str, bytes or os.PathLike object, not NoneType

Signed-off-by: Russell Bryant <rbryant@redhat.com>
2024-09-28 23:40:15 +00:00
..
apis Support for Llama3.2 models and Swift SDK (#98) 2024-09-25 10:29:58 -07:00
cli Fix TypeError when CONDA_PREFIX is not set 2024-09-28 23:40:15 +00:00
distribution [bugfix] fix duplicate api endpoints (#139) 2024-09-27 15:32:50 -07:00
providers inference: Fix download command in error msg (#133) 2024-09-27 13:31:11 -07:00
scripts Add a test for CLI, but not fully done so disabled 2024-09-19 13:27:07 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00