Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: patch db init bug (#2657)
cthomasdeed6a6cbf26
diff --git a/letta/server/db.py b/letta/server/db.pyindex 32f93a03f..ba28cd656 100644--- a/letta/server/db.py+++ b/letta/server/db.py@@ -152,16 +152,17 @@ class DatabaseRegistry:if pool_cls:base_args["poolclass"] = pool_cls- if not use_null_pool and not is_async:+ if not use_null_pool:base_args.update({"pool_size": settings.pg_pool_size,"max_overflow": settings.pg_max_overflow,"pool_timeout": settings.pg_pool_timeout,"pool_recycle": settings.pg_pool_recycle,- "pool_use_lifo": settings.pool_use_lifo,})+ if not is_async:+ base_args["pool_use_lifo"] = settings.pool_use_liforeturn base_args