Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /amphetamarina_litellm /litellm /proxy /post_call_rules.py
| def post_response_rule(input): # receives the model response | |
| print(f"post_response_rule:input={input}") # noqa | |
| 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:
- 359 Bytes
- Xet hash:
- a46711029e5dbdefc40b195127389958b88d7b2105ddf7c399a9555926445a20
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.