mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-18 07:33:58 +00:00
3d8c042ca5
* add semantic guard constants * add SEMANTIC_GUARD enum value * add keyword-based prompt injection policy template * add semantic prompt injection route template * add semantic guard route loader * add semantic guard guardrail * add semantic guard registration * add semantic guard tests * enhance SQL injection keyword category with more patterns and exceptions * add standalone SQL injection policy template * add SQL injection semantic guard route template * add SQL injection guardrail tests * remove standalone sql_injection policy template, use categories/prompt_injection_sql.yaml instead
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/test_litellm
This folder can only run mock tests.