-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple different outputs in video and notebook (Module 3 - Lesson 3: Editing State and Human Feedback) #39
Comments
Also in Studio section we have the following statement:
However there is no path like specified, does it mean that we need to use |
And also I noticed that in the video after the first run we have AI and Tool message, but in the notebook (and also on the second screenshot above) we have also Human message that we inserted as the first message in the stream. |
I found older package versions where I don't have such issues with event duplicates:
Is it expected change in streaming behavior or not? Thank you. |
It seems that there are many changes in langgraph logic and structure for the last month and there are multiple inconsistencies in previous and current behavior (or there is documentation about such changes but I didn't find information about any of these changes). Could you please help with it? |
Hi @rlancemartin, What is interesting that duplicated events do not appear for stream_mode="updates", got this issue for stream_mode="values". Thank you. |
Hi @rlancemartin, I am watching "Lesson 4: Research Assistant" from Module 4 and found that when you resume the graph execution there using stream_mode="values", then you already have the same behavior of this recent stream_mode implementation that I described above, and which is different from the behavior in all of your previous videos in the course. Thank you. |
Hi @rlancemartin,
I am trying to reproduce Lesson 3 in Module 3, and found strange difference in outputs:
graph.stream(None, ...)
we have AI and Tool message, and after the second one - only AI message, and it seems consistent with the graph structure:The first case (in video) seems to be intuitive and correct way to resume, but I can't understand, why do I have duplicated event with Tool message for the second run?
Environment information:
Thank you.
The text was updated successfully, but these errors were encountered: