Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information