mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-14 20:22:20 +00:00
e41ecc7a71
* fix(content_filter.py): fix filter on toxic keywords * feat: improve toxic/abusive language detection * fix: additional improvements to nsfw filters * feat: more improvements to nsfw filter * feat(content_filter.json): add new australia specific nsfw content filter ensure complete coverage for australia nsfw * fix: cleanup policy templates * fix(index.tsx): alert notice * fix(index.tsx): add disclaimer notice * feat(harmful_child_safety.yaml): new child safety content filter ensure we catch inappropriate, child-specific content * feat(policy_templates.json): add child safety and self harm filters * fix(content_filter.py): improve racial bias filter to use a similar identifier + block word pattern and cover a wider range of ethnicities * feat(policy_templates.json): add racial bias to nsfw policy template * feat: add json content viewer
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.