From cb7521b11f439504ad2829147645d9b199397ec3 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 14 Jun 2024 21:15:49 -0700 Subject: [PATCH] fix - result --- litellm/litellm_core_utils/redact_messages.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/redact_messages.py b/litellm/litellm_core_utils/redact_messages.py index 92a6f5c280..9c0df20112 100644 --- a/litellm/litellm_core_utils/redact_messages.py +++ b/litellm/litellm_core_utils/redact_messages.py @@ -63,4 +63,7 @@ def redact_message_input_output_from_logging( elif isinstance(choice, litellm.utils.StreamingChoices): choice.delta.content = "redacted-by-litellm" - return _result + return _result + + # by default return result + return result