mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix(litellm_pre_call_utils.py): add support for key level caching params
This commit is contained in:
parent
b9a1b2db03
commit
22b51c5af4
4 changed files with 42 additions and 2 deletions
|
@ -27,7 +27,7 @@ class _PROXY_CacheControlCheck(CustomLogger):
|
|||
call_type: str,
|
||||
):
|
||||
try:
|
||||
self.print_verbose(f"Inside Cache Control Check Pre-Call Hook")
|
||||
self.print_verbose("Inside Cache Control Check Pre-Call Hook")
|
||||
allowed_cache_controls = user_api_key_dict.allowed_cache_controls
|
||||
|
||||
if data.get("cache", None) is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue