chore: removing comment to match repo styling

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Damien Smrt 2026-08-05 13:56:29 -06:00 • committed by GitHub
parent dbc3dbd920
commit 36ea1efa4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,10 +111,6 @@ class AzureContentSafetyPromptShieldGuardrail(AzureGuardrailBase, CustomGuardrai
input_type: Literal["request", "response"],
logging_obj: Optional["LiteLLMLoggingObj"] = None,
) -> GenericGuardrailAPIInputs:
# Prompt Shield is detect-only and has no post_call hook, but the
# ad-hoc /apply_guardrail endpoint may pass input_type="response".
# The Azure text:shieldPrompt API accepts any text, so we scan
# regardless of direction rather than silently skipping.
for text in inputs.get("texts") or []:
if text:
await self.async_make_request(user_prompt=text)