sys.files cannot be accessed or referenced in nodes #25

Closed
opened 2026-02-16 11:19:32 -05:00 by yindo · 2 comments
Owner

Originally created by @waterdropw on GitHub (Oct 6, 2024).

sys.files is default variable in input node, but it cannot be accessed or referenced in other nodes.

Originally created by @waterdropw on GitHub (Oct 6, 2024). sys.files is default variable in input node, but it cannot be accessed or referenced in other nodes.
yindo added the bug label 2026-02-16 11:19:32 -05:00
yindo closed this issue 2026-02-16 11:19:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Oct 6, 2024):

Hey @waterdropw! 👋 I'm here to help you with any bugs, questions, or contributions while we wait for a human maintainer. Let's squash those bugs together!

The sys.files variable is indeed a default variable in the input node, primarily used for handling file uploads like images. However, there is no specific documentation or information available in the repository that explains why sys.files cannot be accessed or referenced in nodes other than the input node. It might be a design choice or a technical limitation, but this isn't explicitly documented in the available resources [1][2].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Oct 6, 2024): <!-- Greeting --> Hey @waterdropw! 👋 I'm here to help you with any bugs, questions, or contributions while we wait for a human maintainer. Let's squash those bugs together! <!-- Answer --> The `sys.files` variable is indeed a default variable in the input node, primarily used for handling file uploads like images. However, there is no specific documentation or information available in the repository that explains why `sys.files` cannot be accessed or referenced in nodes other than the input node. It might be a design choice or a technical limitation, but this isn't explicitly documented in the available resources <sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/node/start.md)</sup><sup>[[2]](https://github.com/langgenius/dify-docs/blob/main/en/guides/workflow/variables.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@AllenWriter commented on GitHub (Nov 19, 2024):

The sys.files variable can only be accessed by specific nodes, primarily:

  • doc-extractor
  • list-operator
  • http
@AllenWriter commented on GitHub (Nov 19, 2024): The `sys.files` variable can only be accessed by specific nodes, primarily: - doc-extractor - list-operator - http
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#25