mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-04 07:27:51 +00:00
When message logging is redacted (globally, per request, or per callback), the failure path still sent the provider's error text, which often quotes the prompt, to every callback and to the proxy's spend log, DataDog and OTel server span. Scrub the request's own text out of error_str, error_information and traceback_exception instead of blanking them, so the error type, status code and the rest of the wording stay. Also carry a per-request redaction opt-in over to the proxy-only failure log, whose field allowlist left it out. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_datadog.py | ||
| test_datadog_cost_management.py | ||
| test_datadog_llm_obs.py | ||
| test_datadog_llm_obs_agent.py | ||
| test_datadog_logger_batching.py | ||
| test_datadog_metrics.py | ||
| test_datadog_tags_regression.py | ||
| test_datadog_team_handler.py | ||