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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test_redaction_responses_api
Ishaan Jafferc43fcf2dedaf
diff --git a/tests/logging_callback_tests/test_logging_redaction_e2e_test.py b/tests/logging_callback_tests/test_logging_redaction_e2e_test.pyindex c093957ec4a..3f432f91199 100644--- a/tests/logging_callback_tests/test_logging_redaction_e2e_test.py+++ b/tests/logging_callback_tests/test_logging_redaction_e2e_test.py@@ -124,7 +124,7 @@ async def test_global_redaction_off_with_dynamic_params(turn_off_message_loggingasync def test_redaction_responses_api():"""Test redaction with ResponsesAPIResponse format"""litellm.turn_off_message_logging = True- test_custom_logger = TestCustomLogger()+ test_custom_logger = TestCustomLogger(turn_off_message_logging=True)litellm.callbacks = [test_custom_logger]# Mock a ResponsesAPIResponse-style response@@ -174,7 +174,7 @@ async def test_redaction_responses_api():async def test_redaction_responses_api_stream():"""Test redaction with ResponsesAPIResponse format"""litellm.turn_off_message_logging = True- test_custom_logger = TestCustomLogger()+ test_custom_logger = TestCustomLogger(turn_off_message_logging=True)litellm.callbacks = [test_custom_logger]# Mock a ResponsesAPIResponse-style response with streaming chunks