Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The problem of Conversation Variables default values #15861

Open
5 tasks done
gdamao opened this issue Mar 14, 2025 · 1 comment
Open
5 tasks done

The problem of Conversation Variables default values #15861

gdamao opened this issue Mar 14, 2025 · 1 comment
Labels
🐞 bug Something isn't working cloud When the version is cloud and it is a bug report

Comments

@gdamao
Copy link

gdamao commented Mar 14, 2025

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • 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

Dify 1.0.1

Cloud or Self Hosted

Cloud

Steps to reproduce

I set a Conversation Variables named user_name in the chatflow.

window.difyChatbotConfig = {
    // Other configuration settings...
    inputs: {
        **user_name** : 'apple',
    },
}

but user_name default value is null.
How should I deal with this problem?

✔️ Expected Behavior

Conversation Variables user_name='apple'

❌ Actual Behavior

Conversation Variables user_name=null

@dosubot dosubot bot added cloud When the version is cloud and it is a bug report 🐞 bug Something isn't working labels Mar 14, 2025
Copy link

dosubot bot commented Mar 14, 2025

I found a similar open issue regarding the problem of Conversation Variables default values. The suggested solution is to use the Variable Assigner node to explicitly set the value of user_name during the chatflow session. This could serve as a workaround until more information is available [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working cloud When the version is cloud and it is a bug report
Projects
None yet
Development

No branches or pull requests

1 participant