From 507fab06f845cec984ff867f515e13e0945ddf7e Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 19 Aug 2024 12:07:46 -0700 Subject: [PATCH] run during_call_hook --- litellm/proxy/utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/proxy/utils.py b/litellm/proxy/utils.py index 94862db9ac..a2b09b4e69 100644 --- a/litellm/proxy/utils.py +++ b/litellm/proxy/utils.py @@ -432,12 +432,11 @@ class ProxyLogging: """ Runs the CustomLogger's async_moderation_hook() """ - new_data = safe_deep_copy(data) for callback in litellm.callbacks: try: if isinstance(callback, CustomLogger): await callback.async_moderation_hook( - data=new_data, + data=data, user_api_key_dict=user_api_key_dict, call_type=call_type, )