[PR #22367] [CLOSED] Fix YAML files not recognized as text files #42268

Closed
opened 2026-04-25 14:14:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/22367
Author: @04cb
Created: 3/7/2026
Status: Closed

Base: mainHead: fix/add-yaml-to-known-source-exts


📝 Commits (1)

  • 38004af Fix YAML files not recognized as text files

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 backend/open_webui/retrieval/loaders/main.py (+2 -0)

📄 Description

Fixes #22263. YAML and YML files were not included in known_source_ext, causing them to be incorrectly forwarded to Docling which does not support these formats. This change adds yaml and yml extensions to the list so they are properly handled as text files with TextLoader.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/22367 **Author:** [@04cb](https://github.com/04cb) **Created:** 3/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/add-yaml-to-known-source-exts` --- ### 📝 Commits (1) - [`38004af`](https://github.com/open-webui/open-webui/commit/38004af547da4ec6983e35733f9947e49dc156cb) Fix YAML files not recognized as text files ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/retrieval/loaders/main.py` (+2 -0) </details> ### 📄 Description Fixes #22263. YAML and YML files were not included in known_source_ext, causing them to be incorrectly forwarded to Docling which does not support these formats. This change adds yaml and yml extensions to the list so they are properly handled as text files with TextLoader. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-25 14:14:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#42268