forked from phoenix/litellm-mirror
Fix: skip slack alert if there was no spend (#5998)
Co-authored-by: María Paz Cuturi <paz@MacBook-Pro-de-Paz.local>
This commit is contained in:
parent
2a7e1e970d
commit
8225880af0
1 changed files with 1 additions and 1 deletions
|
@ -1630,7 +1630,7 @@ Model Info:
|
||||||
start_date=start_date.strftime("%Y-%m-%d"),
|
start_date=start_date.strftime("%Y-%m-%d"),
|
||||||
end_date=todays_date.strftime("%Y-%m-%d"),
|
end_date=todays_date.strftime("%Y-%m-%d"),
|
||||||
)
|
)
|
||||||
if _resp is None:
|
if _resp is None or _resp == ([], []):
|
||||||
return
|
return
|
||||||
|
|
||||||
spend_per_team, spend_per_tag = _resp
|
spend_per_team, spend_per_tag = _resp
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue