mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
refactor(model_armor): drop redundant comment in post_call hook
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
47c580fa35
commit
bef7b4f6b2
1 changed files with 0 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue