litellm/tests/guardrails_tests
Ishaan Jaff d677a6bda2
[Bug Fix] Bedrock Guardrail - Don't raise exception on intervene action (#11875)
* Refactor Bedrock guardrails to handle BLOCKED vs ANONYMIZED actions

* Enhance Bedrock guardrail masking with improved anonymization logic

* fix _should_raise_guardrail_blocked_exception

* test_bedrock_guardrail_uses_masked_output_without_masking_flags

* fix linting error

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-06-23 19:59:44 -07:00
..
test_bedrock_guardrails.py [Bug Fix] Bedrock Guardrail - Don't raise exception on intervene action (#11875) 2025-06-23 19:59:44 -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