chore(proxy): drop the comment that restates the redaction carry-over
Some checks failed
Cost map pins recheck / rerun-cost-map-guard (push) Has been cancelled
LiteLLM Rust DB / db-queries (push) Has been cancelled
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Modules / fmt, validate, test (aws) (push) Has been cancelled
Terraform Modules / fmt, validate, test (gcp) (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled

This commit is contained in:
yucheng 2026-11-04 17:22:17 -08:00
parent a2bac1d4e1
commit e78dd59b77

View file

@ -4202,8 +4202,6 @@ class ProxyLogging:
**_proxy_only_error_log_fields( # pyright: ignore[reportArgumentType] # the allowlist never carries is_async_call
request_fields, logged_metadata_keys
),
# The allowlist leaves out the request's redaction choice, so carry it over. As in the pre-call
# checks, an opt-out only counts for a key or team allowed to send one
**(
{"turn_off_message_logging": redact}
if redact or key_or_team_allows_client_message_redaction_opt_out(user_api_key_dict)