fix: refactor the way we handle errors inside the electron app + add … (#1640)

This commit is contained in:
Charles Packer
2025-04-10 11:02:33 -07:00
committed by GitHub
parent b4c0b7e3c3
commit 5f7abf4eae

View File

@@ -17,7 +17,7 @@ def start_cron_jobs(server: SyncServer):
poll_running_llm_batches,
args=[server],
trigger=IntervalTrigger(seconds=settings.poll_running_llm_batches_interval_seconds),
next_run_time=datetime.datetime.now(datetime.UTC),
next_run_time=datetime.datetime.now(datetime.timezone.utc),
id="poll_llm_batches",
name="Poll LLM API batch jobs and update status",
replace_existing=True,