File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1212 bash docker/pull_image.sh minio/minio:RELEASE.2023-03-20T20-16-18Z
1313 bash docker/pull_image.sh ghcr.io/astral-sh/uv:0.7.2
1414 bash docker/pull_image.sh nginx:alpine
15+ bash docker/pull_image.sh quay.io/coreos/etcd:v3.5.5
1516
1617start :
1718 @if [ ! -f .env ]; then \
Original file line number Diff line number Diff line change @@ -156,7 +156,11 @@ async def _get_checkpointer(self):
156156
157157 async def get_async_conn (self ) -> aiosqlite .Connection :
158158 """获取异步数据库连接"""
159- return await aiosqlite .connect (os .path .join (self .workdir , "aio_history.db" ))
159+ conn = await aiosqlite .connect (os .path .join (self .workdir , "aio_history.db" ))
160+ # Patch: langgraph's AsyncSqliteSaver expects is_alive() method which aiosqlite may not have
161+ if not hasattr (conn , "is_alive" ):
162+ conn .is_alive = lambda : True
163+ return conn
160164
161165 async def get_aio_memory (self ) -> AsyncSqliteSaver :
162166 """获取异步存储实例"""
You can’t perform that action at this time.
0 commit comments