From a2d7631f476e5c52c49ad7d885ab9a96fd2bd0f9 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Wed, 19 Mar 2025 20:10:42 +0100 Subject: [PATCH] Fix in async client --- libs/sdk-py/langgraph_sdk/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/sdk-py/langgraph_sdk/client.py b/libs/sdk-py/langgraph_sdk/client.py index 8d96f7129..f46525f1d 100644 --- a/libs/sdk-py/langgraph_sdk/client.py +++ b/libs/sdk-py/langgraph_sdk/client.py @@ -1189,7 +1189,7 @@ class ThreadsClient: } if if_exists: payload["if_exists"] = if_exists - return await self.http.post("/threads/state/batch", json=payload) + return await self.http.post("/threads/state/bulk", json=payload) async def get_history( self,