From 5b95fd659b258a1b8756dddd4ae423ad33ce5706 Mon Sep 17 00:00:00 2001 From: "feng.tsai" Date: Wed, 2 Sep 2026 09:47:13 +0800 Subject: [PATCH] fix(guardrails): type opaque masked content --- litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py b/litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py index a6c9a42ce6e..f675c769ea8 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py +++ b/litellm/proxy/guardrails/guardrail_hooks/bedrock_guardrails.py @@ -3326,7 +3326,7 @@ class BedrockGuardrail(CustomGuardrail, BaseAWSLLM): if item is not None: new_content.append(item) else: - new_content.append(item) + new_content.append(item) # pyright: ignore[reportArgumentType] # opaque provider parts stay unchanged return new_content, masking_index