From d344c57b7ec9b8014ce5e928ae6ca5541c8e8277 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 3 Sep 2026 21:10:36 +0000 Subject: [PATCH] refactor(model_armor): drop redundant comment in post_call hook Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../proxy/guardrails/guardrail_hooks/model_armor/model_armor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py b/litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py index c6b61a8d082..0d93e1c31dc 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py +++ b/litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py @@ -861,7 +861,6 @@ class ModelArmorGuardrail(CustomGuardrail, VertexBase): ) blocked: Final = self._should_block_content(armor_response, allow_sanitization=self.mask_response_content) - # Overwrite rather than append: the pre_call scan already recorded its own entry. _, metadata = get_or_create_metadata_bucket(data) metadata["_model_armor_response"] = self._build_logging_response(armor_response) metadata["_model_armor_status"] = "blocked" if blocked else "success"