mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(init.py): rename feature_flag
This commit is contained in:
parent
3c4c78a71f
commit
a9fdfb5a99
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue