fix - redacting messages

This commit is contained in:
Ishaan Jaff 2024-06-13 11:59:18 -07:00
parent ec110976b8
commit b154a4a8ad

View file

@ -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