Skip to content

Got InvalidUpdateError when a proxy class for CompiledGraph implements .astream(), and a checkpointer is used, and the proxy class is used as a subgraph. #993

Answered by vbarda
Glinte asked this question in Q&A
Discussion options

You must be logged in to vote

if you still want to use proxy, you just need to pass stream_mode="values" to graph.astream. default graph.astream was instead returning state updates from each node instead of full state, which is why you were running into your issue

let me know if that helps!

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Glinte
Comment options

@vbarda
Comment options

Answer selected by Glinte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants