mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-19 22:23:58 +00:00
fix deep copy logic in during_call_hook
This commit is contained in:
@@ -252,8 +252,8 @@ class ProxyLogging:
|
||||
"""
|
||||
Runs the CustomLogger's async_moderation_hook()
|
||||
"""
|
||||
new_data = copy.deepcopy(data)
|
||||
for callback in litellm.callbacks:
|
||||
new_data = copy.deepcopy(data)
|
||||
try:
|
||||
if isinstance(callback, CustomLogger):
|
||||
await callback.async_moderation_hook(
|
||||
|
||||
Reference in New Issue
Block a user