mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix deep copy logic in during_call_hook
This commit is contained in:
parent
240b183d7a
commit
89dd1ffee8
1 changed files with 1 additions and 1 deletions
|
@ -252,8 +252,8 @@ class ProxyLogging:
|
||||||
"""
|
"""
|
||||||
Runs the CustomLogger's async_moderation_hook()
|
Runs the CustomLogger's async_moderation_hook()
|
||||||
"""
|
"""
|
||||||
|
new_data = copy.deepcopy(data)
|
||||||
for callback in litellm.callbacks:
|
for callback in litellm.callbacks:
|
||||||
new_data = copy.deepcopy(data)
|
|
||||||
try:
|
try:
|
||||||
if isinstance(callback, CustomLogger):
|
if isinstance(callback, CustomLogger):
|
||||||
await callback.async_moderation_hook(
|
await callback.async_moderation_hook(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue