Supporting astream_events #15
Replies: 2 comments
-
Hey there @itsabhinavjain thank you for the kind words! To your question - yes, I spent a little time looking at The CallbackHandler provided me with a much finer grained control of what LangGraph returns, although it added the complexity of using the Queue to combine multiple sources of events, which admittedly ended up being more of a headache and complexity than I originally guessed. Would be open to more exploration on this and if anyone can point to an example with a similar use case to what's in the toolkit that uses |
Beta Was this translation helpful? Give feedback.
-
This has now been added :) |
Beta Was this translation helpful? Give feedback.
-
Hi Joshua, firstly thanks for making this repo. This really helped me a lot in understanding the dynamics of Langgraph. I am a beginner here.
Quick question - Did you consider using
astream_events
api instead ofastream
while calling the/stream
end point instead of implemented your own CallbackHandler? Would that give more control over what needs to be displayed in the frontend?Beta Was this translation helpful? Give feedback.
All reactions