Merge pull request #10445 from PkmX/pr-fix-web-search-proxy

fix: correctly interpret RAG_WEB_SEARCH_TRUST_ENV as bool
This commit is contained in:
Timothy Jaeryang Baek
2025-02-20 11:16:47 -08:00
committed by GitHub

View File

@@ -1957,7 +1957,7 @@ RAG_WEB_LOADER_ENGINE = PersistentConfig(
RAG_WEB_SEARCH_TRUST_ENV = PersistentConfig(
"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(