mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-15 21:41:05 -06:00
[GH-ISSUE #14091] issue: Settings - JS error prevents saving due to RAGConfig.ALLOWED_FILE_EXTENSIONS being array #32667
Reference in New Issue
Block a user
Originally created by @brainboutique on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14091
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
No response
Operating System
Linux
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
In Settings "Documents", I would expect "Save" to save changes all the time.
Actual Behavior
It seems as if "Allowed File Extensions" is not modified (even if nulled), saving only saves a subset of the settings of that page.
Developer console shows
ANY change in that field - even if it just adds and then removes a character, allows the settings to be saved once. On subsequent save (without any changes) it gives same error as above.
Also it seems as if the post to /api/v1/retrieval/embedding/update only contains a subset of the overall settings object:
Steps to Reproduce
Logs & Screenshots
Additional Information
The variable RAGConfig.ALLOWED_FILE_EXTENSIONS is already an array if not changed!
@tjbck commented on GitHub (May 20, 2025):
Should be addressed with
82716f3789in dev, testing wanted here.