langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
50.24k stars 7.2k forks source link

multiple branches converge into a single code processing point, only one branch is executed, and an error occurs during code convergence #10073

Open LambdaWs opened 1 day ago

LambdaWs commented 1 day ago

Self Checks

Dify version

v0.10.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

After upgrading to the new version(v0.10.1), in cases where multiple branches converge into a single code processing point, only one branch is executed, and an error occurs during code convergence, requiring all branches to have values. However, in the old version, branches that were not executed would default to None, and the code handling the convergence could process this. thank you

✔️ Expected Behavior

branches that were not executed would default to None, and the code handling the convergence could process this.

❌ Actual Behavior

and an error occurs during code convergence, requiring all branches to have values.

dosubot[bot] commented 1 day ago

Hello @LambdaWs! I'm here to help you with any bugs, questions, or contributions you have for Dify. Let's work together to solve this issue.

I found a similar discussion regarding issues with parallel execution in workflows. In version 0.8.0, there was a problem where the issue classifier was treated as a parallel execution branch, which might be related to the problem you're experiencing [1]. You might want to check that discussion for any insights or updates that could help resolve your issue.

To continue talking to Dosu, mention @dosu.

crazywoola commented 1 day ago