litellm/tests/guardrails_tests
Ishaan Jaff c6d0878160
[Feat] Add Lasso Guardrail to LiteLLM (#11565)
* Feature/lasso guardrail (#9002)

* first version of lasso guardrail in litellm

* update to the new Lasso API

* change  prod api_base and kill the request when lasso detect issue.

* change test for now api, local test pass

* add async tests

* all tests pass

* add docs for the new lasso guardrail

* Remove support for modes other than pre_call in Lasso guardrail

* code structure and naming

* only pre_call docs

* fix lint errors

* move test to the new location  follows the same directory structure as litellm/.

* add lasso guard

* docs lasso docs

* add lasso guardrail

* fix lasso guardrail

---------

Co-authored-by: oroxenberg <oro@lasso.security>
2025-06-09 18:47:26 -07:00
..
test_bedrock_guardrails.py Xai, VertexAI, Google AI Studio - live web search support in OpenAI format (#11251) 2025-05-31 14:26:16 -07:00
test_custom_guardrail.py [Feat] Presidio Improvements - Allow adding presidio api base on UI, Test presidio on Test Key, fixes for running presidio hook (#10840) 2025-05-14 17:41:33 -07:00
test_guardrails_config.py [Fix] List Guardrails - Show config.yaml guardrails on litellm ui (#10959) 2025-05-19 21:25:23 -07:00
test_lakera_v2.py [Feat] Add Lakera v2 Guardrail Support (#10880) 2025-05-16 17:08:21 -07:00
test_lasso_guardrails.py [Feat] Add Lasso Guardrail to LiteLLM (#11565) 2025-06-09 18:47:26 -07:00
test_presidio_pii.py Add presidio_language yaml configuration support for guardrails (#11331) 2025-06-02 13:13:17 -07:00
test_tracing_guardrails.py [Feat] Add Tracing for guardrails in StandardLoggingPayload, Langfuse (#10890) 2025-05-16 10:47:12 -07:00