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

Add an environment variable for developers to choose whether to update the inputs value in the same conversation #10055

Open
4 of 5 tasks
huu3301 opened this issue Oct 30, 2024 · 1 comment · May be fixed by #10643 or #7955
Open
4 of 5 tasks
Labels
💪 enhancement New feature or request

Comments

@huu3301
Copy link

huu3301 commented Oct 30, 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).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

In a multi-round conversation, the current design of dify is that when the user passes the conversation_id parameter to the interface, the value of inputs can only be the value of inputs when the conversation is created.
Can a switch be made or an environment variable be designed so that developers can choose whether to update the value of inputs in the same conversation?
sometimes custom variables need to be updated in in actual use, such as some parameters of the environment, but currently if I want to update the inputs, I can only create a new conversation.

2. Additional context or comments

image

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
@dosubot dosubot bot added the 💪 enhancement New feature or request label Oct 30, 2024
@wy96f
Copy link
Contributor

wy96f commented Nov 4, 2024

We also have similar scenarios where this feature is needed. For example, during a multi-turn conversation, if a user wants to take leave, the API caller can upload an attachment and include it in the input; or if a user applies to go out, the API caller can put the latitude and longitude information in the input (Note: In both of these examples, the final step is to call a tool API, which requires attachments and location information as parameters).

liuhaoran1212 pushed a commit to liuhaoran1212/dify that referenced this issue Nov 13, 2024
@liuhaoran1212 liuhaoran1212 linked a pull request Nov 13, 2024 that will close this issue
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💪 enhancement New feature or request
Projects
None yet
2 participants