Why thread_id and checkpoint_id are not camel cased? #39

Closed
opened 2026-02-15 17:05:59 -05:00 by yindo · 2 comments
Owner

Originally created by @vianvio on GitHub (Jun 19, 2024).

First time I saw thread_id in document example, I thought it was translated from the python example, can can be customized. So when I try my own demo, I just changed it to threadId. When it goes, the memory got an undefined in the storage key, which makes me confused.

Finnaly I found the variable definition in the source code, but it is different from all other variables. Why do we specially use thread_id and checkpoint_id here?

Originally created by @vianvio on GitHub (Jun 19, 2024). First time I saw thread_id in document example, I thought it was translated from the python example, can can be customized. So when I try my own demo, I just changed it to threadId. When it goes, the memory got an undefined in the storage key, which makes me confused. Finnaly I found the variable definition in the source code, but it is different from all other variables. Why do we specially use thread_id and checkpoint_id here?
yindo closed this issue 2026-02-15 17:05:59 -05:00
Author
Owner

@hwchase17 commented on GitHub (Jun 19, 2024):

is this referencing the checkpointer? or the python/js sdks for intereacting with the server?

@hwchase17 commented on GitHub (Jun 19, 2024): is this referencing the checkpointer? or the python/js sdks for intereacting with the server?
Author
Owner

@dqbd commented on GitHub (Jun 17, 2025):

Hello! I think this is by design with the goal being having consistent access to thread ID / checkpoint ID when consuming a run stream, regardless of JS / Python

@dqbd commented on GitHub (Jun 17, 2025): Hello! I think this is by design with the goal being having consistent access to thread ID / checkpoint ID when consuming a run stream, regardless of JS / Python
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraphjs#39