After multiple rounds of answering, template submissions will repeatedly appear
Self Checks
- [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
- [x] I have searched for existing issues search for existing issues, including closed ones.
- [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- [x] Please do not modify this template :) and fill in all the required fields.
Dify version
1.1.3
Cloud or Self Hosted
Cloud
Steps to reproduce
After multiple rounds of answering, template submissions will repeatedly appear
✔️ Expected Behavior
Just need one template to submit
❌ Actual Behavior
No response
The issue you're experiencing with repeated template submissions might be related to the form handling components in the Dify codebase. Specifically, the Form component located in web/app/components/datasets/external-api/external-api-modal/Form.tsx is responsible for rendering and handling form submissions. It uses the renderField function to render form fields and manages form changes with the handleFormChange function [1].
Additionally, the file web/app/components/workflow/nodes/_base/components/before-run-form/index.tsx also plays a role in form submission, processing form inputs and handling errors [2].
To address the issue of repeated template submissions, you might want to check these components for any logic that could lead to duplicate rendering or submission of forms. Look for any event listeners or handlers that might be triggering multiple submissions and ensure that the form state is managed correctly to prevent duplicates.
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
I am using parallel nodes, and I think it is caused by server instability
output will repeatedly appear
This should be fixed in latest version.