open-webui/backend/open_webui/retrieval/loaders
Classic298 f956f7adc0
fix: send only the file name to Docling instead of the full storage path (#30357)
With the Docling content extraction engine, every conversion request
carried the server's full internal upload path (for example
/app/backend/data/uploads/<id>_report.pdf) as the multipart file name.
Docling only needs a bare file name, and a hosted Docling instance has
no business learning where Open WebUI keeps its files on disk.

The loader now sends the base name of the stored file, which is what
the MinerU, Datalab and Mistral loaders already do. Nothing else in
the request or the parsed result changes, verified against a capturing
mock server before and after.

Fixes #30352
2026-09-22 11:35:05 -04:00
..
datalab_marker.py refactor: remove the unreachable async half of the Mistral loader and an unused Datalab helper (#28839) 2026-08-20 13:14:14 -07:00
external_document.py feat: add {{USER_GROUPS}} and {{USER_GROUP_IDS}} placeholders for custom forwarded headers (#27236) 2026-07-26 23:21:26 -04:00
external_web.py refac 2026-07-27 19:39:36 -04:00
local.py refac 2026-09-12 20:09:21 -04:00
main.py fix: send only the file name to Docling instead of the full storage path (#30357) 2026-09-22 11:35:05 -04:00
microsoft_web_iq.py refac 2026-08-25 15:47:55 -04:00
mineru.py perf: build info log messages lazily so raising the log level actually saves work (#27837) 2026-08-02 15:39:10 -05:00
mistral.py refactor: remove the unreachable async half of the Mistral loader and an unused Datalab helper (#28839) 2026-08-20 13:14:14 -07:00
paddleocr_vl.py perf: build info log messages lazily so raising the log level actually saves work (#27837) 2026-08-02 15:39:10 -05:00
pdf.py refac 2026-09-12 20:09:21 -04:00
tavily.py refac 2026-08-24 17:56:11 -04:00
youtube.py fix(retrieval): report why a URL could not be read instead of blaming the knowledge base (#28362) 2026-08-10 19:18:04 -06:00