llama-stack/llama_stack/apis/safety
Steve Grubb a4daf4d3ec
Fix up safety client for versioned API (#573)
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.
2024-12-05 14:13:49 -08:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
client.py Fix up safety client for versioned API (#573) 2024-12-05 14:13:49 -08:00
safety.py Telemetry API redesign (#525) 2024-12-04 11:22:45 -08:00