mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
Custom metadata attached to a file upload (e.g. via the API's metadata field) was stored on the file row but silently dropped when the file was chunked and embedded for RAG, so it never reached the LLM through retrieved sources. process_file() builds chunk metadata in several branches; three of them already merge the file's meta dict in, but the branch used for a fresh upload processed through a document loader did not. Bring it in line with the others so custom metadata flows through consistently regardless of upload path. Reported in open-webui/open-webui#29486. |
||
|---|---|---|
| .. | ||
| data | ||
| open_webui | ||
| .dockerignore | ||
| .gitignore | ||
| dev.sh | ||
| requirements-min.txt | ||
| requirements.txt | ||
| start.sh | ||
| start_windows.bat | ||