mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #22367] [CLOSED] Fix YAML files not recognized as text files #42268
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?
📋 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.