We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 03d83da + 42450d8 commit 257e506Copy full SHA for 257e506
backend/api/core/agent/persistence.py
@@ -30,7 +30,7 @@ async def checkpointer_context(
30
# A compatible psycopg connection is created via the connection pool to connect to the checkpointer.
31
async with AsyncConnectionPool(
32
conninfo=conn_str,
33
- kwargs=dict(prepare_threshold=None),
+ kwargs=dict(prepare_threshold=None, autocommit=True),
34
) as pool:
35
checkpointer = AsyncPostgresSaver(pool)
36
try:
0 commit comments