mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-18 14:23:37 +00:00
Merge pull request #14690 from ARajan1084/bedrock_guardrail_logging_fix
fix: Amazon Bedrock incorrect guardrailResponse bug
This commit is contained in:
@@ -24,7 +24,6 @@ from litellm._logging import verbose_proxy_logger
|
||||
from litellm.caching import DualCache
|
||||
from litellm.integrations.custom_guardrail import (
|
||||
CustomGuardrail,
|
||||
log_guardrail_information,
|
||||
)
|
||||
from litellm.llms.bedrock.base_aws_llm import BaseAWSLLM
|
||||
from litellm.llms.custom_httpx.http_handler import (
|
||||
@@ -518,7 +517,6 @@ class BedrockGuardrail(CustomGuardrail, BaseAWSLLM):
|
||||
# This means all actions were ANONYMIZED or NONE, so don't raise exception
|
||||
return False
|
||||
|
||||
@log_guardrail_information
|
||||
async def async_pre_call_hook(
|
||||
self,
|
||||
user_api_key_dict: UserAPIKeyAuth,
|
||||
|
||||
Reference in New Issue
Block a user