Merge pull request #4187 from BerriAI/litellm_drop_params_env

feat(__init__.py): allow setting drop_params as an env
This commit is contained in:
Krish Dholakia 2024-06-13 17:02:08 -07:00 committed by GitHub
commit 4366b0e553
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ token: Optional[str] = (
) )
telemetry = True telemetry = True
max_tokens = 256 # OpenAI Defaults max_tokens = 256 # OpenAI Defaults
drop_params = False drop_params = bool(os.getenv("LITELLM_DROP_PARAMS", False))
modify_params = False modify_params = False
retry = True retry = True
### AUTH ### ### AUTH ###