mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #22263] issue: Uploading yaml produces an error with Docling as engine #35210
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 @lukaaas176 on GitHub (Mar 5, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22263
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.8.8
Ollama Version (if applicable)
v0.17.4
Operating System
Ubuntu 24.04
Browser (if applicable)
Firefox
Confirmation
README.md.Expected Behavior
Uploading a yaml should treat is as a text-file and load it with a TextLoader
Actual Behavior
It forwards it to docling, which will fail.
Steps to Reproduce
Logs & Screenshots
Additional Information
Hey :)
After deploying a test instance at my university, testers found out that uploading any yaml file throws the error in the screenshot
After reporting it to me, i was able to easly reproduce it: Open-WebUI does not have yaml/yml as known_source_ext in
backend/open_webui/retrieval/loaders/main.py, so it forwards it to docling-serve, which will reject the request.I would have two suggestions and would be willing to implement and provide a pull request for that :)
Any thoughts? :)
@Classic298 commented on GitHub (Mar 8, 2026):
710320601a