From 1b108cc45e0aefe9c8f7e1fc7cd42661ce21a813 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Tue, 17 Mar 2026 14:38:46 +0500 Subject: [PATCH] =?UTF-8?q?fix:=20update=20stale=20comment=20=E2=80=94=20c?= =?UTF-8?q?leanup=20is=20now=20eager,=20not=20lazy-loaded?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litellm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/__init__.py b/litellm/__init__.py index e6f52f781df..190bb851b86 100644 --- a/litellm/__init__.py +++ b/litellm/__init__.py @@ -81,7 +81,7 @@ from litellm.constants import ( DEFAULT_ALLOWED_FAILS, ) import httpx -# register_async_client_cleanup is lazy-loaded and called on first access +# register_async_client_cleanup is called eagerly at module import time litellm_mode = os.getenv("LITELLM_MODE", "DEV") # "PRODUCTION", "DEV"