forked from phoenix-oss/llama-stack-mirror
When running: python -m llama_stack.apis.safety.client localhost 5000 The API server was logging: INFO: ::1:57176 - "POST /safety/run_shield HTTP/1.1" 404 Not Found This patch uses the versioned API, uses the updated safety endpoint, and updates the model name to what's being served. The above python command now demonstrates a passing and failing example. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| client.py | ||
| safety.py | ||