mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
fix - redacting messages
This commit is contained in:
parent
ec110976b8
commit
b154a4a8ad
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue