Bug: RAG support for markdown files: Uploading ".md" files not working in all UI options... #199

Closed
opened 2025-11-11 14:11:09 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @nitrodude on GitHub (Jan 17, 2024).

Bug Report

Description

Bug Summary:
Trying to upload markdown (.md) documents results in Unsupported File Type ''. error for 3 of the 4 Upload methods...

UI Route Works?
drag-n-drop in chat
attachment button in chat
+ button in downloads
drag-n-drop in downloads

Steps to Reproduce:
Clicking the attachment button in the chat UI:
image

Clicking the + button OR drag-n-dropping in the downloads ui:
image

Expected Behavior:
All "routes" should work...

Actual Behavior:
image

Environment

  • Operating System: docker + macos (m1)
  • Browser (if applicable): Safari 17.2.1 (19617.1.17.11.12), Chrome 120.0.6099.216 (Official Build) (arm64), Firefox 121.0.1 (64-bit)

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I have reviewed the troubleshooting.md document.
Originally created by @nitrodude on GitHub (Jan 17, 2024). # Bug Report ## Description **Bug Summary:** Trying to upload markdown (`.md`) documents results in `Unsupported File Type ''.` error for 3 of the 4 `Upload` methods... | UI Route | Works? | | -------- | -------- | | drag-n-drop in chat | ✅ | | attachment button in chat | ❌ | | `+` button in downloads | ❌ | | drag-n-drop in downloads | ❌ | **Steps to Reproduce:** Clicking the `attachment` button in the chat UI: <img width="936" alt="image" src="https://github.com/ollama-webui/ollama-webui/assets/10167851/242efd6b-fbbb-48f8-9bda-1743bce1bbf6"> Clicking the `+` button OR drag-n-dropping in the downloads ui: <img width="922" alt="image" src="https://github.com/ollama-webui/ollama-webui/assets/10167851/478d1642-7e9e-4f05-bdf7-21f19c49aa5f"> **Expected Behavior:** All "routes" should work... **Actual Behavior:** <img width="223" alt="image" src="https://github.com/ollama-webui/ollama-webui/assets/10167851/5eecabd3-f73c-4b34-a39c-d8100f7fe10d"> ## Environment - **Operating System:** docker + macos (m1) - **Browser (if applicable):** Safari 17.2.1 (19617.1.17.11.12), Chrome 120.0.6099.216 (Official Build) (arm64), Firefox 121.0.1 (64-bit) ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I have reviewed the troubleshooting.md document.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#199