mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
File Content Access Fails in for file processing Plugins #21
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 @fdb02983rhy on GitHub (Mar 20, 2025).
Description
The
File.blobproperty should make file content directly accessible, but instead attempts HTTP requests even for local files.Fix needed: The SDK should detect local files and read them directly.
Notice
It only happens on local deployment.
Related Github Issue
https://github.com/langgenius/dify/issues/16327
Related Plugin
https://github.com/fdb02983rhy/dify-pdf-process-plugin
https://github.com/Yevanchen/pymupdf-in-dify
Or any other plugins that needs local file access.
@Gevtolev commented on GitHub (Mar 26, 2025):
https://github.com/langgenius/dify/issues/16327#issuecomment-2753681038
@Gevtolev commented on GitHub (Mar 26, 2025):
We'll consider modifying the code later.
@camucamulemon7 commented on GitHub (Jun 16, 2025):
Has this issue been resolved?