fix(utils.py): move 'set_callbacks' to litellm_logging.py

This commit is contained in:
Krrish Dholakia 2024-06-15 12:02:30 -07:00
parent 115adc7c30
commit af88e55d46
6 changed files with 147 additions and 1715 deletions

View file

@ -268,7 +268,9 @@ class ProxyLogging:
+ litellm.failure_callback
)
)
litellm.utils.set_callbacks(callback_list=callback_list)
litellm.litellm_core_utils.litellm_logging.set_callbacks(
callback_list=callback_list
)
# The actual implementation of the function
async def pre_call_hook(