From ae0ffdf5a6ea68fd5c2c83f6e436927dc1a87de0 Mon Sep 17 00:00:00 2001 From: jquinter Date: Sat, 14 Feb 2026 15:20:08 -0300 Subject: [PATCH] Update litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../guardrail_hooks/litellm_content_filter/content_filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py index 7ce825c729..55fbd54bc8 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py +++ b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/content_filter.py @@ -1084,7 +1084,7 @@ class ContentFilterGuardrail(CustomGuardrail): self, keyword: str, action: ContentFilterAction, - description: str, + description: Optional[str], text: str, detections: Optional[List[ContentFilterDetection]], ) -> str: