Files
open-webui/backend/open_webui/retrieval/loaders
Classic298 81f5b8adf8 feat: support MinerU 4.x self-hosted servers (#32422)
MinerU 4.0 dropped the parsing interface its self-hosted server had in 3.x, so the local MinerU engine failed with a 404 on every document when pointed at a 4.x server. Open WebUI now detects a 4.x server and talks to it through its new interface, while 3.x servers keep working as before. On 4.x, `tier` in the MinerU parameters picks the parsing quality (flash, basic, standard or advanced) and `enable_ocr` forces OCR; 3.x-only settings such as `language` and `model_version` are not sent, since 4.x refuses them. 4.x also returns every image as base64 text inside the document, which would otherwise be indexed as text, so images are left out of the extracted content.

Fixes #31516
2026-10-14 23:54:41 +04:00
..
2026-07-27 19:39:36 -04:00
2026-09-12 20:09:21 -04:00
2026-08-25 15:47:55 -04:00
2026-09-12 20:09:21 -04:00
2026-08-24 17:56:11 -04:00