fix(init.py): rename feature_flag

This commit is contained in:
Krrish Dholakia 2024-08-05 11:23:20 -07:00
parent 3c4c78a71f
commit a9fdfb5a99
3 changed files with 4 additions and 4 deletions

View file

@ -1903,7 +1903,7 @@ class Cache:
param not in litellm_param_kwargs
): # check if user passed in optional param - e.g. top_k
if (
litellm.enable_caching_on_optional_params is True
litellm.enable_caching_on_provider_specific_optional_params is True
): # feature flagged for now
if kwargs[param] is None:
continue # ignore None params