mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-31 14:00:34 -05:00
[GH-ISSUE #15135] issue: When BYPASS_WEB_SEARCH_WEB_LOADER is set to true for internet search, the data was not properly populated #88220
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yuan-HuiBin on GitHub (Jun 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15135
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.13
Ollama Version (if applicable)
No response
Operating System
windows 11 and Ubuntu 22.04
Browser (if applicable)
chrome
Confirmation
README.md.Expected Behavior
When this variable is true, it should default to using existing data to return to the LLM, but it's returning an empty array instead
Actual Behavior
The type of result is list.
Steps to Reproduce
Using web search with search engine set to 'external', when the 'bypass web loader' switch is enabled, no data is returned to the LLM. Actually, the logs indicate that data has been found through search. Looking at the code in routers/retrieval.py, in the process_web_search method, within the if request.app.state.config.BYPASS_WEB_SEARCH_WEB_LOADER: condition, for result in search_results, the result type is list, which causes the value extraction to fail.
Logs & Screenshots
Additional Information
The type of result is list.
When using web search with external search engine and the bypass web loader switch enabled:
Issue: No data returned to LLM
Logs: Show search data was actually found
Root cause: In routers/retrieval.py, process_web_search method, within the BYPASS_WEB_SEARCH_WEB_LOADER condition, the result type in 'for result in search_results' is list, causing value extraction failure."
@tjbck commented on GitHub (Jun 19, 2025):
0.6.13 is NOT the latest version. Please update to the latest main.