mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-31 06:26:02 +00:00
* feat: Add Pillar Security guardrail integration Implements comprehensive LLM security guardrails using Pillar Security API with support for prompt injection detection, PII/secret detection, content moderation, and multi-mode execution (pre_call, during_call, post_call). Includes complete documentation, testing, and configurable actions on flagged content. * fix: Resolve MyPy type error in Pillar guardrail config Restructure PillarGuardrailConfigModel to properly inherit from GuardrailConfigModel[T] and resolve return type compatibility issue in get_config_model method. * fix: Resolve MyPy type error in Pillar guardrail config Restructure PillarGuardrailConfigModel to properly inherit from GuardrailConfigModel[T] and resolve return type compatibility issue in get_config_model method. * fix docs * fix docs * improved docs * fix examples, READY
In total litellm runs 1000+ tests
[02/20/2025] Update:
To make it easier to contribute and map what behavior is tested,
we've started mapping the litellm directory in tests/litellm
This folder can only run mock tests.