Replies: 1 comment 1 reply
-
Seems like you're doing something similar to forking? Since StateGraph is a state machine, you may be able to get away with just copying the last state over rather than copying the entire history of states |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I am building an GenAI app using LangGraph. One of the features is the ability for the user to duplicate a conversation (unique by thread_id) to another user's history. I am managing the app history in a separate persistent layer so I can duplicate it there easily and create a new thread_id, but I'd also would the duplicated conversation can be continued using the PostgresSaver. Does it make to pull all the checkpoints of a specific thread_id using list, modify the thread_id all in the checkpoints and then store it back using put? Thanks
Beta Was this translation helpful? Give feedback.
All reactions