Merge branch 'main' into litellm_gemini_refactoring

This commit is contained in:
Krish Dholakia 2024-06-17 19:50:56 -07:00 committed by GitHub
commit 6f94456f40
27 changed files with 335 additions and 182 deletions

View file

@ -340,6 +340,7 @@ def function_setup(
try:
global callback_list, add_breadcrumb, user_logger_fn, Logging
function_id = kwargs["id"] if "id" in kwargs else None
if len(litellm.callbacks) > 0:
for callback in litellm.callbacks:
# check if callback is a string - e.g. "lago", "openmeter"