forked from phoenix/litellm-mirror
fixes: #4947 Bedrock context exception does not have a response
This commit is contained in:
parent
452441ae03
commit
ebca13b2ca
1 changed files with 0 additions and 1 deletions
|
@ -6845,7 +6845,6 @@ def exception_type(
|
||||||
message=f"BedrockException: Context Window Error - {error_str}",
|
message=f"BedrockException: Context Window Error - {error_str}",
|
||||||
model=model,
|
model=model,
|
||||||
llm_provider="bedrock",
|
llm_provider="bedrock",
|
||||||
response=original_exception.response,
|
|
||||||
)
|
)
|
||||||
elif "Malformed input request" in error_str:
|
elif "Malformed input request" in error_str:
|
||||||
exception_mapping_worked = True
|
exception_mapping_worked = True
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue