Skip to content

Commit 3671c6a

Browse files
Merge pull request #14690 from ARajan1084/bedrock_guardrail_logging_fix
fix: Amazon Bedrock incorrect guardrailResponse bug
2 parents 661a42b + 4f468e9 commit 3671c6a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from litellm.caching import DualCache
2525
from litellm.integrations.custom_guardrail import (
2626
CustomGuardrail,
27-
log_guardrail_information,
2827
)
2928
from litellm.llms.bedrock.base_aws_llm import BaseAWSLLM
3029
from litellm.llms.custom_httpx.http_handler import (
@@ -518,7 +517,6 @@ def _should_raise_guardrail_blocked_exception(
518517
# This means all actions were ANONYMIZED or NONE, so don't raise exception
519518
return False
520519

521-
@log_guardrail_information
522520
async def async_pre_call_hook(
523521
self,
524522
user_api_key_dict: UserAPIKeyAuth,

0 commit comments

Comments
 (0)