mirror of
https://github.com/langgenius/dify.git
synced 2026-03-10 09:56:13 +08:00
Previously, media files were fetched via getFileContent API which decodes binary data as UTF-8, resulting in corrupted strings that cannot be used as img/video src. Now media files use getFileDownloadUrl API to get a presigned URL, enabling proper preview of images and videos of any size.