llama-stack-mirror/llama_stack
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
..
apis Fix up safety client for versioned API (#573) 2024-12-05 14:13:49 -08:00
cli No need to use os.path.relpath() when Path() knows everything anyway 2024-11-23 11:45:47 -08:00
distribution precommit 2024-12-05 16:36:26 -05:00
providers remove unused telemetry related code (#570) 2024-12-05 09:57:16 -08:00
scripts Integrate distro docs into the restructured docs 2024-11-20 23:20:05 -08:00
templates Cerebras Inference Integration (#265) 2024-12-03 21:15:32 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00