mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(litellm_pre_call_utils.py): add support for key level caching params
This commit is contained in:
parent
c5a611ca91
commit
af1ae80277
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