Replies: 3 comments 3 replies
-
Usually something like:
|
Beta Was this translation helpful? Give feedback.
-
Hi, @hinthornw |
Beta Was this translation helpful? Give feedback.
-
It would be nice if we got this as a feature for However, if you just wanted to get all thread ids, you can implement it yourself. Langgraph uses a table called if you were using sqlite you may do st like this import aiosqlite
async def get_distinct_thread_ids(db_path: str)->list[str]:
async with aiosqlite.connect(db_path) as db:
async with db.execute("SELECT DISTINCT thread_id FROM checkpoints") as cursor:
rows = await cursor.fetchall()
return [row[0] for row in rows] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I want to get all the conversations that happened for a particular user. So that I can display it on the side panel. Is there a way to fetch all threads from the underlying memory of the agent?
Beta Was this translation helpful? Give feedback.
All reactions