fix(guardrails): type opaque masked content

This commit is contained in:
feng.tsai 2026-09-02 09:47:13 +08:00
parent 9554129e45
commit 5b95fd659b

View file

@ -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