From ed42b55a845d2e1c5e15d66cff82e2a7827e1471 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 29 Oct 2024 22:32:55 -0700 Subject: [PATCH] fix: fix linting error --- litellm/router.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/router.py b/litellm/router.py index e60f05d84..d129ee556 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -3133,8 +3133,7 @@ class Router: try: # First, try to get the current event loop - loop = asyncio.get_running_loop() - + _ = asyncio.get_running_loop() # If we're already in an event loop, run in a separate thread # to avoid nested event loop issues with ThreadPoolExecutor(max_workers=1) as executor: