From bef7b4f6b2e96e1bde65e4f378cf37e9fc865032 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 e6d847a99d5..2d8c3ee117d 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py +++ b/litellm/proxy/guardrails/guardrail_hooks/model_armor/model_armor.py @@ -843,7 +843,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"