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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/22367
Author: @04cb
Created: 3/7/2026
Status: ❌ Closed
Base:
main← Head:fix/add-yaml-to-known-source-exts📝 Commits (1)
38004afFix 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.