mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-18 04:28:19 +00:00
fix - redacting messages
This commit is contained in:
committed by
Krrish Dholakia
parent
a166db1e73
commit
cb0639d097
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user