mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-12 04:50:39 +00:00
Address comments
Signed-off-by: Yuan Tang <terrytangyuan@gmail.com>
This commit is contained in:
parent
02a6376f13
commit
872f7eead0
3 changed files with 10 additions and 7 deletions
4
.env.dev
4
.env.dev
|
@ -1,4 +0,0 @@
|
||||||
LLAMA_STACK_BASE_URL=http://localhost:8321
|
|
||||||
LLAMA_STACK_CLIENT_LOG=debug
|
|
||||||
LLAMA_STACK_PORT=8321
|
|
||||||
LLAMA_STACK_CONFIG=
|
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
||||||
.env
|
.env
|
||||||
.env.dev
|
|
||||||
__pycache__
|
__pycache__
|
||||||
dist
|
dist
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
|
|
@ -70,9 +70,17 @@ $ uv pip install -e .
|
||||||
$ source .venv/bin/activate
|
$ source .venv/bin/activate
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that you can modify the existing `.env.dev` dotenv file for running client SDK tests via the following:
|
Note that you can create a dotenv file `.env` that includes necessary environment variables:
|
||||||
|
```
|
||||||
|
LLAMA_STACK_BASE_URL=http://localhost:8321
|
||||||
|
LLAMA_STACK_CLIENT_LOG=debug
|
||||||
|
LLAMA_STACK_PORT=8321
|
||||||
|
LLAMA_STACK_CONFIG=
|
||||||
|
```
|
||||||
|
|
||||||
|
And then use this dotenv file when running client SDK tests via the following:
|
||||||
```bash
|
```bash
|
||||||
$ uv run --env-file .env.dev -- pytest -v tests/client-sdk/inference/test_text_inference.py
|
$ uv run --env-file .env -- pytest -v tests/client-sdk/inference/test_text_inference.py
|
||||||
```
|
```
|
||||||
|
|
||||||
## Pre-commit Hooks
|
## Pre-commit Hooks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue