Unexpected behaviour in conditional edges #2195
Unanswered
CyberKnight1803
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using LangGraph but trying to avoid using LangChain. Given below is my code that I am just experimenting -
Code
src/data_types.py
src/state.py
src/graph.py
Graph
Issue
When I run the following code -
I see the following output -
The window_size is 5 so, it doesnt go in
summarize_conversation_node
.As you can see the reducer function
update_window
has been called three times instead of two... Why is this happening?Why is there an extra state update for
short_term_memory
happening?Beta Was this translation helpful? Give feedback.
All reactions