-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
iteration node cannot correctly return the file type #10596
Comments
I found two similar discussions that might be related to the issue you're experiencing:
Regarding your issue with the iteration node not correctly returning the file type, it's important to ensure that the input variable for the iteration node is formatted as a list object. The iteration node processes each element in the input array sequentially, and the input must be an array variable [1]. If the file type is not being returned correctly, it might be due to the input not being properly formatted as an array or list. Additionally, common causes of file type handling errors in the iteration node include issues like the iterator variable not being found or the iterator value not being a list [2]. You might want to check these aspects in your setup. |
Please remove this node and add it again to see if this is resolved, we have found some issues related to #10421. We will fix it later. |
@crazywoola The problem still exists and has not been resolved |
…egment when node are files outputs Signed-off-by: yihong0618 <zouzou0208@gmail.com>
try to fix that, can you use my code(branch) to check? |
Signed-off-by: yihong0618 <zouzou0208@gmail.com> Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com> Signed-off-by: -LAN- <laipz8200@outlook.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
Self Checks
Dify version
0.11.1
Cloud or Self Hosted
Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
DSL file (needs to manually change the file extension to yml):
test_iter_img.txt
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: