From 373a41ca6dc97895a5d58dcc048afa27ca3d6074 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Sat, 1 Jun 2024 18:58:55 -0700 Subject: [PATCH] fix async_function_with_retries --- litellm/router.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/router.py b/litellm/router.py index 89796428e..c21e7bbb3 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -2064,7 +2064,6 @@ class Router: response = await original_function(*args, **kwargs) return response except Exception as e: - num_retries = None current_attempt = None original_exception = e """