diff --git a/libs/checkpoint-postgres/langgraph/store/postgres/aio.py b/libs/checkpoint-postgres/langgraph/store/postgres/aio.py index a5e7604cd..c2d670b94 100644 --- a/libs/checkpoint-postgres/langgraph/store/postgres/aio.py +++ b/libs/checkpoint-postgres/langgraph/store/postgres/aio.py @@ -78,7 +78,7 @@ class AsyncPostgresStore(AsyncBatchedBaseStore, BasePostgresStore[_ainternal.Con await store.aput(("docs",), "doc3", {"text": "Other guide"}, index=False) # don't index # Search by similarity - results = await store.asearch(("docs",), "programming guides", limit=2) + results = await store.asearch(("docs",), query="programming guides", limit=2) ``` Using connection pooling for better performance: