mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix(utils.py): fix if check
This commit is contained in:
parent
6dc39e4ed1
commit
08b409bae8
2 changed files with 1 additions and 2 deletions
|
@ -3198,7 +3198,7 @@ def get_optional_params(
|
|||
special_params = passed_params.pop("kwargs")
|
||||
for k, v in special_params.items():
|
||||
if k.startswith("aws_") and (
|
||||
custom_llm_provider != "bedrock" or custom_llm_provider != "sagemaker"
|
||||
custom_llm_provider != "bedrock" and custom_llm_provider != "sagemaker"
|
||||
): # allow dynamically setting boto3 init logic
|
||||
continue
|
||||
passed_params[k] = v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue