diff --git a/litellm/utils.py b/litellm/utils.py index 2518ed056..84b15cb19 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -6845,7 +6845,6 @@ def exception_type( message=f"BedrockException: Context Window Error - {error_str}", model=model, llm_provider="bedrock", - response=original_exception.response, ) elif "Malformed input request" in error_str: exception_mapping_worked = True