You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Make RAG UPLOAD_EXTS configurable via environment variable #11385
while most of the other RAG settings in the same file are configurable through environment variables. The module docstring also says:
"""RAG config; every value is env-overridable."""
For example, I have a linked folder containing a large notes repository, but I only want Unsloth Studio to index Markdown files. Currently the only way to achieve this is to modify the installed config.py manually:
UPLOAD_EXTS= {".md"}
This works, but the change can be overwritten when Unsloth Studio is updated.
Making the UPLOAD_EXTS configurable via an environment variable seems like a practical addition, especially since other RAG settings are already adjustable this way. It would help avoid manual changes that get overwritten with updates.
I'd like to take this. #10395 is also changing the extension lists in rag/config.py. Should RAG_UPLOAD_EXTS override UPLOAD_EXTS now, or should I wait for #10395 and have it apply to ALL_UPLOAD_EXTS? The current list stays the default either way.
Activity
KashmirAwana commentedon Sep 20, 2026
Making the
UPLOAD_EXTSconfigurable via an environment variable seems like a practical addition, especially since other RAG settings are already adjustable this way. It would help avoid manual changes that get overwritten with updates.aran-yogesh commentedon Sep 22, 2026
I'd like to take this. #10395 is also changing the extension lists in rag/config.py. Should RAG_UPLOAD_EXTS override UPLOAD_EXTS now, or should I wait for #10395 and have it apply to ALL_UPLOAD_EXTS? The current list stays the default either way.
Souravrajvi0 commentedon Sep 22, 2026
Opened #11499 with
RAG_UPLOAD_EXTSsupport on currentmain(defaults unchanged).KashmirAwana commentedon Sep 27, 2026
Looks like Sourav already opened a PR for this. You might want to coordinate with them on how it aligns with #10395.
feat(studio): make RAG upload extensions configurable via env
feat(studio): configurable RAG upload extensions via RAG_UPLOAD_EXTS …