From 3fbebe16aad3b4f469ad1bd4f550b12d12f0c874 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Mon, 13 May 2024 10:51:59 -0700 Subject: [PATCH] fix - spend reports on alerts --- litellm/integrations/slack_alerting.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/litellm/integrations/slack_alerting.py b/litellm/integrations/slack_alerting.py index 8df943098a8..012033b018e 100644 --- a/litellm/integrations/slack_alerting.py +++ b/litellm/integrations/slack_alerting.py @@ -887,8 +887,6 @@ Model Info: async def send_weekly_spend_report(self): """ """ try: - await asyncio.sleep(10) - from litellm.proxy.proxy_server import _get_spend_report_for_time_range todays_date = datetime.datetime.now().date() @@ -936,8 +934,6 @@ Model Info: try: from calendar import monthrange - await asyncio.sleep(10) - from litellm.proxy.proxy_server import _get_spend_report_for_time_range todays_date = datetime.datetime.now().date()