mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
issue: Serply params passed incorrectly in web_search #5998
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 @jsweetzer-ea on GitHub (Aug 8, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.18
Ollama Version (if applicable)
No response
Operating System
AWS linux
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When Serply is set as web search provider and a valid API key is provided, it should function with the web search tool.
Actual Behavior
Serply integration is broken
search_serply positional args are here
https://github.com/open-webui/open-webui/blob/main/backend/open_webui/retrieval/web/serply.py#L13-L22
when args are passed to the function here as part of web_search
https://github.com/open-webui/open-webui/blob/main/backend/open_webui/routers/retrieval.py#L1782-L1788
the 4th param passed is the domain filter list, and it is expected to be the "hl" param.
Steps to Reproduce
Set Serply as web provider, set Serply API key, try to use as Web Search tool in LLM chat
Logs & Screenshots
https://github.com/open-webui/open-webui/blob/main/backend/open_webui/retrieval/web/serply.py#L40
error originates when "lower()" is called on the list of domains to filter
Additional Information
No response
@tjbck commented on GitHub (Aug 8, 2025):
Addressed with e8cb57750b41452c84c57953263cb627479ee2ed!