Skip to content

Commit 42450d8

Browse files
authored
Update persistence.py
1 parent 03d83da commit 42450d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/api/core/agent/persistence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def checkpointer_context(
3030
# A compatible psycopg connection is created via the connection pool to connect to the checkpointer.
3131
async with AsyncConnectionPool(
3232
conninfo=conn_str,
33-
kwargs=dict(prepare_threshold=None),
33+
kwargs=dict(prepare_threshold=None, autocommit=True),
3434
) as pool:
3535
checkpointer = AsyncPostgresSaver(pool)
3636
try:

0 commit comments

Comments
 (0)