Cast SLACK_DAILY_REPORT_FREQUENCY to int

This commit is contained in:
Marc Abramowitz 2024-05-13 17:08:53 -07:00
parent 01da3b0a7a
commit bfec894f6b

View file

@ -32,7 +32,7 @@ class LiteLLMBase(BaseModel):
class SlackAlertingArgs(LiteLLMBase):
default_daily_report_frequency: int = 12 * 60 * 60 # 12 hours
daily_report_frequency: int = os.getenv("SLACK_DAILY_REPORT_FREQUENCY", default_daily_report_frequency)
daily_report_frequency: int = int(os.getenv("SLACK_DAILY_REPORT_FREQUENCY", default_daily_report_frequency))
report_check_interval: int = 5 * 60 # 5 minutes