Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test_datadog_message_redaction

Ishaan Jaffera4c008c43332
diff --git a/tests/logging_callback_tests/test_datadog.py b/tests/logging_callback_tests/test_datadog.py
index 5870395533e..13125aa4952 100644
--- a/tests/logging_callback_tests/test_datadog.py
+++ b/tests/logging_callback_tests/test_datadog.py
@@ -612,7 +612,7 @@ async def test_datadog_message_redaction():
# Apply redaction using the inherited method
redacted_details = dd_logger.redact_standard_logging_payload_from_model_call_details(model_call_details)
- redacted_str = LiteLLMCommonStrings.redacted_by_litellm.value
+ redacted_str = "redacted-by-litellm"
# Verify that messages are redacted
redacted_standard_obj = redacted_details["standard_logging_object"]