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
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Dify version
0.15.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Once I don't set a variable in the first place, I have no chance to set it again, because the old session will malfunction.
I will demonstrate my example below, I want to add the feature of switching models to my workflow:
My old business:
2.My new business:
3.Old session error:
I think adjusting inputs to dynamic will solve everything
✔️ Expected Behavior
Old sessions don't go wrong
❌ Actual Behavior
The old session went wrong.
The text was updated successfully, but these errors were encountered:
Hey there, @abnormalboy! 👋 I'm here to help you out with any bugs, questions, or contributions you have in mind. I'm Dosu, a bot designed to assist you while you wait for a human maintainer. Let's squash those bugs together!
I found some similar discussions that might be relevant to your issue:
Error in item: Invalid variable. - This is another open discussion that deals with errors related to variables, which might be similar to the issue you're facing [2].
To address your issue of dynamic inputs to prevent errors in old sessions, you can ensure that the inputs are updated with default values or conditions that handle the absence of certain variables. This can be achieved by checking if the configuration is ready and then setting the query_variable_selector conditionally. Here's an example of how you might implement this:
Self Checks
Dify version
0.15.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Once I don't set a variable in the first place, I have no chance to set it again, because the old session will malfunction.
I will demonstrate my example below, I want to add the feature of switching models to my workflow:
3.Old session error:
I think adjusting
inputs
to dynamic will solve everything✔️ Expected Behavior
Old sessions don't go wrong
❌ Actual Behavior
The old session went wrong.
The text was updated successfully, but these errors were encountered: