[GH-ISSUE #12357] issue: Docling causes add knowledge to fail. #119881

Closed
opened 2026-05-20 21:19:36 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @geiseri on GitHub (Apr 2, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12357

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.0

Ollama Version (if applicable)

0.5.13

Operating System

linux

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

Add text content to knowledge and it is added.

Actual Behavior

If "Add text content" is used while adding Knowledge they should bypass docling since they are already in text format. Currently they are sent do docling and that returns and error so the import fails.

Steps to Reproduce

  1. Go to add knowledge and try "Add text content"

Image

  1. Paste text into the input area.
  2. Click save
  3. Error is seen:

Image

Logs & Screenshots

Image

Image

Additional Information

This might also hold true for any file that is already text formatted when its uploaded.

I apologize for using screenshots, as I was having fits with getting formatting and stuff preserved.

Originally created by @geiseri on GitHub (Apr 2, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12357 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.0 ### Ollama Version (if applicable) 0.5.13 ### Operating System linux ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior Add text content to knowledge and it is added. ### Actual Behavior If "Add text content" is used while adding Knowledge they should bypass docling since they are already in text format. Currently they are sent do docling and that returns and error so the import fails. ### Steps to Reproduce 1. Go to add knowledge and try "Add text content" ![Image](https://github.com/user-attachments/assets/fa19958d-5f1a-4b16-a5d7-aedd668e52aa) 2. Paste text into the input area. 3. Click save 4. Error is seen: ![Image](https://github.com/user-attachments/assets/56b29e98-06ae-4a16-9da7-b68885eb52f0) ### Logs & Screenshots ![Image](https://github.com/user-attachments/assets/8d67722d-65c5-4256-bb74-cc23c19fda33) ![Image](https://github.com/user-attachments/assets/5024a02c-7dc6-497d-b2ed-4cc2584d2368) ### Additional Information This might also hold true for any file that is already text formatted when its uploaded. I apologize for using screenshots, as I was having fits with getting formatting and stuff preserved.
GiteaMirror added the bug label 2026-05-20 21:19:36 -05:00
Author
Owner

@tjbck commented on GitHub (Apr 2, 2025):

@FabioPolito24

<!-- gh-comment-id:2773343999 --> @tjbck commented on GitHub (Apr 2, 2025): @FabioPolito24
Author
Owner

@FabioPolito24 commented on GitHub (Apr 2, 2025):

Got the problem, I'll get it fixed as soon as I can, probably this weekend. Thanks for reporting it!

<!-- gh-comment-id:2773903404 --> @FabioPolito24 commented on GitHub (Apr 2, 2025): Got the problem, I'll get it fixed as soon as I can, probably this weekend. Thanks for reporting it!
Author
Owner

@geiseri commented on GitHub (Apr 8, 2025):

Seems fixed in #12486 so I will close this.

<!-- gh-comment-id:2787352450 --> @geiseri commented on GitHub (Apr 8, 2025): Seems fixed in #12486 so I will close this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#119881