mirror of
https://github.com/langgenius/dify-docs-archived.git
synced 2026-07-25 13:35:35 -04:00
sys.files cannot be accessed or referenced in nodes #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.filesvariable 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 whysys.filescannot 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.
@AllenWriter commented on GitHub (Nov 19, 2024):
The
sys.filesvariable can only be accessed by specific nodes, primarily: