mirror of
https://github.com/open-webui/open-webui
synced 2025-02-22 13:18:25 +00:00
fix: correctly interpret RAG_WEB_SEARCH_TRUST_ENV as bool
This commit is contained in:
parent
c882aacc23
commit
af10aba805
@ -1957,7 +1957,7 @@ RAG_WEB_LOADER_ENGINE = PersistentConfig(
|
|||||||
RAG_WEB_SEARCH_TRUST_ENV = PersistentConfig(
|
RAG_WEB_SEARCH_TRUST_ENV = PersistentConfig(
|
||||||
"RAG_WEB_SEARCH_TRUST_ENV",
|
"RAG_WEB_SEARCH_TRUST_ENV",
|
||||||
"rag.web.search.trust_env",
|
"rag.web.search.trust_env",
|
||||||
os.getenv("RAG_WEB_SEARCH_TRUST_ENV", False),
|
os.getenv("RAG_WEB_SEARCH_TRUST_ENV", "False").lower() == "true",
|
||||||
)
|
)
|
||||||
|
|
||||||
PLAYWRIGHT_WS_URI = PersistentConfig(
|
PLAYWRIGHT_WS_URI = PersistentConfig(
|
||||||
|
Loading…
Reference in New Issue
Block a user