mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
Merge pull request #4948 from dleen/response
fixes: #4947 Bedrock context exception does not have a response
This commit is contained in:
commit
6bdb9203b3
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue