Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

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

Charles Packer93b6df2a4803
diff --git a/letta/jobs/scheduler.py b/letta/jobs/scheduler.py
index 9ed946d2f..1b88a88f9 100644
--- a/letta/jobs/scheduler.py
+++ b/letta/jobs/scheduler.py
@@ -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,