From b154a4a8add147f1157c13ccde7d7eef8f2f6a68 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 13 Jun 2024 11:59:18 -0700 Subject: [PATCH] fix - redacting messages --- litellm/litellm_core_utils/redact_messages.py | 2 ++ 1 file changed, 2 insertions(+) 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