From da7af8a1529c6a61291110489b29d6cf905f2477 Mon Sep 17 00:00:00 2001 From: Alexsander Hamir Date: Mon, 5 Jan 2026 09:47:08 -0800 Subject: [PATCH] Fix NameError: get_coroutine_checker not defined in check_coroutine function --- litellm/utils.py | 1 + 1 file changed, 1 insertion(+) 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)