diff --git a/aider/models.py b/aider/models.py index cd530b882..f7133cf9e 100644 --- a/aider/models.py +++ b/aider/models.py @@ -772,11 +772,9 @@ def sanity_check_model(io, model): # Check if this is a Bedrock model and ensure boto3 is installed if model.name.startswith("bedrock/"): from aider.utils import check_pip_install_extra + check_pip_install_extra( - io, - "boto3", - "AWS Bedrock models require the boto3 package.", - ["boto3"] + io, "boto3", "AWS Bedrock models require the boto3 package.", ["boto3"] ) if not model.info: