Merge pull request #18667 from wangweixuan/fix-7008

fix: use trusted env proxy setting in web search loader
This commit is contained in:
Tim Baek 2025-10-27 23:52:20 -07:00 committed by GitHub
commit 81c530a9c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,6 +71,7 @@ def get_loader(request, url: str):
url, url,
verify_ssl=request.app.state.config.ENABLE_WEB_LOADER_SSL_VERIFICATION, verify_ssl=request.app.state.config.ENABLE_WEB_LOADER_SSL_VERIFICATION,
requests_per_second=request.app.state.config.WEB_LOADER_CONCURRENT_REQUESTS, requests_per_second=request.app.state.config.WEB_LOADER_CONCURRENT_REQUESTS,
trust_env=request.app.state.config.WEB_SEARCH_TRUST_ENV,
) )