diff --git a/backend/open_webui/config.py b/backend/open_webui/config.py index 3b40977f2..b8dc91b85 100644 --- a/backend/open_webui/config.py +++ b/backend/open_webui/config.py @@ -2013,6 +2013,11 @@ YOUTUBE_LOADER_PROXY_URL = PersistentConfig( os.getenv("YOUTUBE_LOADER_PROXY_URL", ""), ) +DEFAULT_RAG_SETTINGS = PersistentConfig( + "DEFAULT_RAG_SETTINGS", + "rag.default_settings", + os.getenv("DEFAULT_RAG_SETTINGS", "True").lower() == "true", +) #################################### # Web Search (RAG)