litellm/tests/test_litellm/proxy/guardrails
Krish Dholakia be0530a6b3
fix(unified_guardrail.py): correctly map a v1/messages call to the anthropic unified guardrail (#17424)
* fix(unified_guardrail.py): correctly map a v1/messages call to the anthropic unified guardrail

* fix: add more rigorous call type checks

* fix(anthropic_endpoints/endpoints.py): initialize logging object at the beginning of endpoint

ensures call id + trace id are emitted to guardrail api

* feat(anthropic/chat/guardrail_translation): support streaming guardrails

sample on every 5 chunks

* fix(openai/chat/guardrail_translation): support openai streaming guardrails

* fix: initial commit fixing output guardrails for responses api

* feat(openai/responses/guardrail_translation): handler.py - fix output checks on responses api

* fix(openai/responses/guardrail_translation/handler.py): ensure responses api guardrails work on streaming

* test: update tests

* test: update tests

* test: update tests

* fix(bedrock_guardrails.py): fix post call streaming iterator logic

* fix: fix return

* fix(bedrock_guardrails.py): fix
2025-12-03 20:54:56 -08:00
..
guardrail_hooks fix(unified_guardrail.py): correctly map a v1/messages call to the anthropic unified guardrail (#17424) 2025-12-03 20:54:56 -08:00
test_guardrail_endpoints.py test_patch_guardrail_endpoint 2025-11-07 22:09:52 -08:00
test_guardrail_registry.py added test for updating in memory guardrails 2025-09-17 17:16:49 -07:00
test_init_guardrails.py Litellm fix GitHub action testing (#11163) 2025-05-26 14:41:42 -07:00
test_pillar_guardrails.py feat(pillar): add automatic LiteLLM context headers (#17076) 2025-11-25 19:35:39 -08:00
test_prompt_security_guardrails.py Prompt security litellm (#16365) 2025-11-24 11:44:20 -08:00