diff --git a/litellm/litellm_core_utils/redact_messages.py b/litellm/litellm_core_utils/redact_messages.py index a93104e5d..b76cd4a9e 100644 --- a/litellm/litellm_core_utils/redact_messages.py +++ b/litellm/litellm_core_utils/redact_messages.py @@ -61,3 +61,5 @@ def redact_message_input_output_from_logging( choice.message.content = "redacted-by-litellm" elif isinstance(choice, litellm.utils.StreamingChoices): choice.delta.content = "redacted-by-litellm" + + return _result