mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-15 04:19:08 +00:00
Remove redundant header-redaction comments from generic guardrail tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a37fc70e75
commit
ce204529db
1 changed files with 0 additions and 3 deletions
|
|
@ -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"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue