diff --git a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_generic_guardrail_api.py b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_generic_guardrail_api.py index 38c7aef470e..1a09c492a0b 100644 --- a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_generic_guardrail_api.py +++ b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_generic_guardrail_api.py @@ -500,10 +500,7 @@ class TestMetadataExtraction: assert req_headers.get("Cookie") == _HEADER_PRESENT_PLACEHOLDER assert req_headers.get("X-Request-Id") == _HEADER_PRESENT_PLACEHOLDER - # Credential header matched by x-litellm-* allowlist glob: value still redacted assert req_headers.get("x-litellm-api-key") == _HEADER_PRESENT_PLACEHOLDER - - # Non-credential x-litellm-* header: value forwarded assert req_headers.get("x-litellm-model") == "gpt-4o-mini"