mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 06:02:06 -05:00
issue: Websearch can lock you out on a failure #4785
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 @geiseri on GitHub (Apr 9, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.2
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When I get a 4XX error from a websearch rest call it will fail or at least throttle further requests to the endpoint.
Actual Behavior
On a
429 Client Error: Too Many Requestserror the caller continues to hit the search endpoint until all search queries are exhausted.Steps to Reproduce
This is a bit funky since I am using google personal search, but the logic applies to the other search providers.
But hit your API quota and then issue a further search. You will see "No search results found" in the UI but it will still generate a response.
Logs & Screenshots
This is what I see, so in theory specific 4xx errors could be handled accordingly. The "No search results found" message could be augmented with a sanitized reason.
Additional Information
Since the websearch can be augmented by the local RAG maybe the best approach would be to skip further calls to the endpoint and then show the actual reason instead of "No search results found". That way smooth brained individuals like me don't keep hitting the
Regeneratebutton over and over again ;)