llama-stack-mirror/llama_stack
Steve Grubb fafc22ee92 Fix up safety client for versioned API
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.
2024-12-05 16:36:29 -05:00
..
apis Fix up safety client for versioned API 2024-12-05 16:36:29 -05:00
cli No need to use os.path.relpath() when Path() knows everything anyway 2024-11-23 11:45:47 -08:00
distribution Telemetry API redesign (#525) 2024-12-04 11:22:45 -08: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