You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Utilizing LangGraph within Chainlit to stream events and the final response remains difficult and hard for users to implement. Moreover, current implementations appear to significantly decrease the responsiveness of LangGraph agent within the UI.
LangGraph Support #801 Tackled part of the issue and the example implementation is useful, but I wouldn't count that as full support. As mentioned in that thread, I think this is relatively complex.
Tighter support and documentation around how to use astream_events to display events and stream the final response
Describe alternatives you've considered
There are workshopped solutions and a PR in the cookbook, but they are not easy to find and generally the cl.LangchainCallbackHandler does not seem to have clean support for streaming. It only streams if force_stream_final_answer=True.
Additional context
Example of speed inconsistency below - my actual LangGraph performs fine in a CLI or standalone, but consistently adds significant time when streamed in Chainlit
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
astream_events
to display events and stream the final responseDescribe alternatives you've considered
cl.LangchainCallbackHandler
does not seem to have clean support for streaming. It only streams ifforce_stream_final_answer=True
.Additional context
LangGraph
performs fine in a CLI or standalone, but consistently adds significant time when streamed in ChainlitThe text was updated successfully, but these errors were encountered: