mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-03 07:08:43 +02:00
Merge pull request #1083 from langchain-ai/vb/update-sdk
This commit is contained in:
@@ -392,6 +392,10 @@ class ThreadsClient:
|
||||
json=payload,
|
||||
)
|
||||
|
||||
async def copy(self, thread_id: str) -> None:
|
||||
"""Copy a thread."""
|
||||
return await self.http.post(f"/threads/{thread_id}/copy", json=None)
|
||||
|
||||
async def get_state(
|
||||
self, thread_id: str, checkpoint_id: Optional[str] = None
|
||||
) -> ThreadState:
|
||||
|
||||
Reference in New Issue
Block a user