diff --git a/docs/my-website/docs/proxy/rules.md b/docs/my-website/docs/proxy/rules.md index bbdb9b8a44f..415607b61ce 100644 --- a/docs/my-website/docs/proxy/rules.md +++ b/docs/my-website/docs/proxy/rules.md @@ -42,4 +42,20 @@ curl --location 'http://0.0.0.0:8000/v1/chat/completions' \ ``` --- -This will now check if a response is > len 5, and if it fails, it'll retry a call 3 times before failing. \ No newline at end of file +This will now check if a response is > len 5, and if it fails, it'll retry a call 3 times before failing. + +### Response that fail the rule + +This is the response from LiteLLM Proxy on failing a rule + +```json +{ + "error": + { + "message":"This violates LiteLLM Proxy Rules. Response too short", + "type":null, + "param":null, + "code":500 + } +} +``` \ No newline at end of file