I've reviewed all the issues related to files so far, and I believe relaxing restrictions on file reading is a strong demand, at the very least within the code nodes. #12500

Closed
opened 2026-02-21 19:07:42 -05:00 by yindo · 0 comments
Owner

Originally created by @LeeeeeeM on GitHub (Apr 2, 2025).

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 use case where I reviewed all the issues and found that many people share this confusion. Why can’t the code node access files, even just a temporary file URL?

Image

The above is my source code modification in local. I think it's necessary.

2. Additional context or comments

https://github.com/langgenius/dify/issues?q=file%20url

https://github.com/langgenius/dify/issues?q=Object%20of%20type%20File%20is%20not%20JSON%20serializable

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @LeeeeeeM on GitHub (Apr 2, 2025). ### 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 use case where I reviewed all the issues and found that many people share this confusion. Why can’t the code node access files, even just a temporary file URL? ![Image](https://github.com/user-attachments/assets/5237d3d2-2d48-476c-9938-d2f05b1b78b0) The above is my source code modification in local. I think it's necessary. ### 2. Additional context or comments https://github.com/langgenius/dify/issues?q=file%20url https://github.com/langgenius/dify/issues?q=Object%20of%20type%20File%20is%20not%20JSON%20serializable ### 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 19:07:42 -05:00
yindo closed this issue 2026-02-21 19:07:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12500