Error with multiple upload files
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
main
Cloud or Self Hosted
Cloud, Self Hosted (Docker)
Steps to reproduce
I used the official test https://cloud.dify.ai/. When I had two files uploaded, when I clicked single-step run, the uploaded file would show that the first variable was not uploaded, but there was actually an upload process.
This is the json for the custom tool
✔️ Expected Behavior
The actual situation should be that after running, it should be able to be submitted
❌ Actual Behavior
No response
Hey there, @FreedomClannad! 👋 I'm here to help you with bug fixes, answer questions, and even guide you in becoming a contributor. Let's squash those bugs together!
I found a similar issue that might help you resolve the problem with multiple uploaded files not being recognized correctly during a single-step run in the Dify workflow interface. The solution involves adjusting the file variable in the start node to be of type array, i.e., a file list. This allows Dify to execute all the content in the list iteratively until it is done. Additionally, ensure your Dify installation is updated to a version that includes the fix from PR #12035, which modifies the ArrayFileVariable to properly inherit from ArrayVariable, allowing array files to be used correctly in iteration nodes [1][2].
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
still can not upload multifies @crazywoola