mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
feat - send daily spend reports
This commit is contained in:
parent
e82c00622e
commit
d384a0b39f
2 changed files with 50 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue