diff --git a/litellm/utils.py b/litellm/utils.py index 7bd98decc34..f7f6bfa653c 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -1184,6 +1184,7 @@ def _get_wrapper_timeout( def check_coroutine(value) -> bool: + get_coroutine_checker = getattr(sys.modules[__name__], 'get_coroutine_checker') return get_coroutine_checker().is_async_callable(value)