Skip to content
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

fix(langgraph): Allow multiple interrupts per node #713

Merged
merged 17 commits into from
Dec 10, 2024

Conversation

bracesproul
Copy link
Member

@bracesproul bracesproul commented Dec 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
cr
cr
cr

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@bracesproul bracesproul marked this pull request as ready for review December 10, 2024 00:06

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
cr
config
)
);
expect(thirdResult[thirdResult.length - 1].myKey).toEqual("DEanswer 1 answer 2");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirming here: it should be the last item in the array since it's streamMode: "values"?

In this test thirdResult is an array with two objects, the first is the initial state (first state update) and the second is the state after the node can return (second & last state update)

@bracesproul bracesproul merged commit 2d1c891 into main Dec 10, 2024
19 checks passed
@bracesproul bracesproul deleted the brace/multiple-interrupts-per-node branch December 10, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants