How to determine if the user has uploaded an image through sys.files? #5032

Closed
opened 2026-02-21 18:09:05 -05:00 by yindo · 2 comments
Owner

Originally created by @joneqian on GitHub (Aug 14, 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.

I have a scenario where I want to decide whether to call a vision model based on whether the user has uploaded an image. However, sys.files cannot be passed to other nodes. How can this issue be resolved?

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @joneqian on GitHub (Aug 14, 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] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] 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. I have a scenario where I want to decide whether to call a vision model based on whether the user has uploaded an image. However, sys.files cannot be passed to other nodes. How can this issue be resolved? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancement label 2026-02-21 18:09:05 -05:00
yindo closed this issue 2026-02-21 18:09:06 -05:00
Author
Owner

@crazywoola commented on GitHub (Aug 14, 2024):

Once we have this https://github.com/langgenius/dify/issues/5346 ready, then you should be able to fulfill this feature.

@crazywoola commented on GitHub (Aug 14, 2024): Once we have this https://github.com/langgenius/dify/issues/5346 ready, then you should be able to fulfill this feature.
Author
Owner

@G81192 commented on GitHub (Nov 4, 2024):

@crazywoola Hello, I’m currently using the latest version (0.10.2). I see that support for other file types has been added, but the use of the sys.files variable on other nodes, as mentioned in issue (#7260), still doesn’t seem to work. I’m not sure if this is due to my configuration or if this feature is still unsupported.
image

@G81192 commented on GitHub (Nov 4, 2024): @crazywoola Hello, I’m currently using the latest version (0.10.2). I see that support for other file types has been added, but the use of the sys.files variable on other nodes, as mentioned in issue (#7260), still doesn’t seem to work. I’m not sure if this is due to my configuration or if this feature is still unsupported. ![image](https://github.com/user-attachments/assets/0686e605-cb93-46f1-abfd-a52b42bebd8d)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5032