mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-18 10:48:00 -05:00
[GH-ISSUE #11291] open_webui.routers.files:get_file_content_by_id related to the env environment? #54840
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 @lzf-tech on GitHub (Mar 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/11291
Is the file path read by open_webui.routers.files:get_file_content_by_id related to the env environment? When I copied the data directory from another place and tried to read files like images, I found that the path was incorrect. The file path still showed the original Conda environment name. Are the paths of files (such as images) under the open_webui/data directory hard - coded?