From 36ea1efa4d73fd2047d3308f98da98942ee5e455 Mon Sep 17 00:00:00 2001 From: Damien Smrt Date: Wed, 5 Aug 2026 13:56:29 -0600 Subject: [PATCH] chore: removing comment to match repo styling Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../proxy/guardrails/guardrail_hooks/azure/prompt_shield.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/azure/prompt_shield.py b/litellm/proxy/guardrails/guardrail_hooks/azure/prompt_shield.py index 6dad9ae8fc6..3e1ea528954 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/azure/prompt_shield.py +++ b/litellm/proxy/guardrails/guardrail_hooks/azure/prompt_shield.py @@ -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)