Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /BerriAI_litellm /litellm /proxy /post_call_rules.py
| def post_response_rule(input): # receives the model response | |
| print(f"post_response_rule:input={input}") # noqa: T201 | |
| if len(input) < 200: | |
| return { | |
| "decision": False, | |
| "message": "This violates LiteLLM Proxy Rules. Response too short", | |
| } | |
| return {"decision": True} # message not required since, request will pass | |
Xet Storage Details
- Size:
- 365 Bytes
- Xet hash:
- ce9903a5cc9d62e99369503a9f7f3b774134730467440837a43b0c878d582663
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.