Introducing Global Variables and Buttons to the Workflow: Enhancing Existing Features #2436

Closed
opened 2026-02-21 17:45:43 -05:00 by yindo · 0 comments
Owner

Originally created by @1596941391qq on GitHub (Apr 22, 2024).

Self Checks

  • 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).
  • Pleas do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing?

Currently, the challenge I am facing is how to effectively manage the memory and historical data of the AI. To address this issue, I propose establishing a global variable to make the operations clearer. For example, if there is a global variable for the AI’s memory and history, and memory is checked at the LLM node, it should be stored in a global variable by default, and I would like to edit these. Secondly, on the chat interface, there should be the ability to add button components, and there would be button nodes that can call code.

2. Describe the feature you'd like to see

I suggest establishing a global variable to make the operations clearer. For example, if there is a global variable for the AI’s memory and history, and memory is checked at the LLM node, it should be stored in a global variable by default, and I would like to edit these. Secondly, on the chat interface, there should be the ability to add button components, and there would be button nodes that can call code.

3. How will this feature improve your workflow or experience?

By establishing a global variable to manage the memory and historical data of the AI, my workflow will be significantly improved. This will allow me to more clearly track and edit the AI’s dialogue history, thus increasing work efficiency. Additionally, being able to add button components to the chat interface and combine code with button nodes will make the operations more intuitive and convenient. Overall, these improvements will make my workflow more efficient and smooth.

4. Additional context or comments

No response

5. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @1596941391qq on GitHub (Apr 22, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 1. Is this request related to a challenge you're experiencing? Currently, the challenge I am facing is how to effectively manage the memory and historical data of the AI. To address this issue, I propose establishing a global variable to make the operations clearer. For example, if there is a global variable for the AI’s memory and history, and memory is checked at the LLM node, it should be stored in a global variable by default, and I would like to edit these. Secondly, on the chat interface, there should be the ability to add button components, and there would be button nodes that can call code. ### 2. Describe the feature you'd like to see I suggest establishing a global variable to make the operations clearer. For example, if there is a global variable for the AI’s memory and history, and memory is checked at the LLM node, it should be stored in a global variable by default, and I would like to edit these. Secondly, on the chat interface, there should be the ability to add button components, and there would be button nodes that can call code. ### 3. How will this feature improve your workflow or experience? By establishing a global variable to manage the memory and historical data of the AI, my workflow will be significantly improved. This will allow me to more clearly track and edit the AI’s dialogue history, thus increasing work efficiency. Additionally, being able to add button components to the chat interface and combine code with button nodes will make the operations more intuitive and convenient. Overall, these improvements will make my workflow more efficient and smooth. ### 4. Additional context or comments _No response_ ### 5. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 17:45:43 -05:00
yindo closed this issue 2026-02-21 17:45:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2436