langchain-ai / langgraphjs

⚡ Build language agents as graphs ⚡
https://langchain-ai.github.io/langgraphjs/
MIT License
284 stars 44 forks source link

Why thread_id and checkpoint_id are not camel cased? #221

Open vianvio opened 2 weeks ago

vianvio commented 2 weeks ago

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?

hwchase17 commented 1 week ago

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