mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-16 04:28:36 +00:00
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 |
||
|---|---|---|
| .. | ||
| datalab_marker.py | ||
| external_document.py | ||
| external_web.py | ||
| local.py | ||
| main.py | ||
| microsoft_web_iq.py | ||
| mineru.py | ||
| mistral.py | ||
| paddleocr_vl.py | ||
| pdf.py | ||
| tavily.py | ||
| youtube.py | ||