litellm/ui
Ishaan Jaff bdc4969526
[Feat] UI - Allow configuring LiteLLM Custom Guardrail (#16339)
* add ContentFilterAction

* store pre-built regex patterns

* add v0 of content filter guard

* add _filter_messages

* test content filter guard

* init ContentFilterGuardrail

* fix ContentFilterGuardrail enums

* rename folder

* fix litellm_content_filter

* refactor content filter guard

* test content filter

* add streaming for ContentFilterGuardrail

* test_streaming_hook_mask

* add litellm_content_filter

* docs show litellm content filter

* docs litellm content filter

* fix lnting

* use ENUM for PrebuiltPatternName

* fix validate_blocked_words_file

* add validateBlockedWordsFile

* LitellmContentFilterGuardrailConfigModel

* add get_config_model

* add litellm content filter

* refactored ui

* fix config

* tests for new components
2025-11-06 16:03:55 -08:00
..
litellm-dashboard [Feat] UI - Allow configuring LiteLLM Custom Guardrail (#16339) 2025-11-06 16:03:55 -08:00