fix deep copy logic in during_call_hook
This commit is contained in:
parent
240b183d7a
commit
89dd1ffee8
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user