feat - send daily spend reports

This commit is contained in:
Ishaan Jaff 2024-05-13 09:25:31 -07:00
parent e82c00622e
commit d384a0b39f
2 changed files with 50 additions and 0 deletions

View file

@ -122,6 +122,8 @@ class ProxyLogging:
alerting_args=alerting_args,
)
asyncio.create_task(self.slack_alerting_instance.send_weekly_spend_report())
if "daily_reports" in self.alert_types:
litellm.callbacks.append(self.slack_alerting_instance) # type: ignore