Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: skip default actor init on app start (#9125)
cthomas5530d541f1e7
diff --git a/letta/server/rest_api/app.py b/letta/server/rest_api/app.pyindex e4ac33334..bd2fda023 100644--- a/letta/server/rest_api/app.py+++ b/letta/server/rest_api/app.py@@ -182,7 +182,7 @@ async def lifespan(app_: FastAPI):logger.info(f"[Worker {worker_id}] Starting scheduler with leader election")global server- await server.init_async()+ await server.init_async(init_with_default_org_and_user=not settings.no_default_actor)try:await start_scheduler_with_leader_election(server)logger.info(f"[Worker {worker_id}] Scheduler initialization completed")