fixes: #4947 Bedrock context exception does not have a response
This commit is contained in:
parent
452441ae03
commit
ebca13b2ca
@ -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…
Reference in New Issue
Block a user