Skip to content

Streaming Support for Intermediate Nodes #358

Discussion options

You must be logged in to vote

Hey @faisalrehmankhattak and @meeran03 -- thanks for the issue! I think there are a few issues here, but this is a supported use-case and we'll make sure we get to a solution.

Two cases:

(1) you want to use halt_before + astream_result(...)

This assumes that the only node you want to stream back is process_user_query -- see (2) otherwise -- @meeran03 I think this is describing your case, but I'm not 100% sure.

This is a bit of unclear documentation, but I think there is an easy fix. halt_before doesn't actually stream (to transition between actions, we need full state to complete so we know where to transition to) -- if process_user_query is the node that streams, it'll stop before that, …

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@meeran03
Comment options

Answer selected by meeran03
Comment options

You must be logged in to vote
3 replies
@elijahbenizzy
Comment options

@meeran03
Comment options

@elijahbenizzy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants