Support for Retrieving Streamed Output from Any Model Node in Dify's Workflow API #12009
Open
5 tasks done
Labels
💪 enhancement
New feature or request
Milestone
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I would like to suggest that Dify's workflow API support retrieving the streamed output of any model node in the workflow during execution in streaming mode.
Currently, the only way to get the streamed output of a specific model is to add the model node's output variable to the final end node of the workflow.
The reason I’m raising this issue is that, in one of my use cases, I was using conditional nodes to split the workflow into different branches. Each branch called a model, and eventually, all outputs were merged at an aggregation node. In this situation, it became very difficult to access the streamed output of each model node in real time.
2. Additional context or comments
Having the ability to directly retrieve the streamed output from any model node would make the workflow API more flexible and easier to use in cases involving conditional branches or aggregation of multiple streams. This would save developers from needing to add extra steps or workarounds just to collect streamed outputs.
3. Can you help us with this feature?
The text was updated successfully, but these errors were encountered: