From df6b7499608e98932e8a8f404f4aebdf71dd6ecc Mon Sep 17 00:00:00 2001 From: MarkXian Date: Thu, 3 Sep 2026 15:39:09 +0800 Subject: [PATCH] fix(bedrock): preserve missing credentials error --- litellm/llms/bedrock/base_aws_llm.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/litellm/llms/bedrock/base_aws_llm.py b/litellm/llms/bedrock/base_aws_llm.py index 35f342ee103..5cbebe40098 100644 --- a/litellm/llms/bedrock/base_aws_llm.py +++ b/litellm/llms/bedrock/base_aws_llm.py @@ -1472,11 +1472,6 @@ class BaseAWSLLM: from botocore.exceptions import NoCredentialsError except ImportError: raise ImportError("Missing boto3 to call bedrock. Run 'pip install boto3'.") - if credentials is None: - raise ValueError( - "AWS credentials are required when Bedrock bearer token authentication is not configured." - ) - if credentials is None: raise NoCredentialsError()