mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
issue: Searching doesn't work, at all. #5052
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 @SerenoV7 on GitHub (May 5, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.6
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04.5 LTS x86_64 (Virtualized)
Browser (if applicable)
Zen Browser 1.12b (Firefox 138.0.1)
Confirmation
README.md.Expected Behavior
When enabling search, the model is supposed to generate a search query and use that for the search
Actual Behavior
Instead of generating a search query, it errors out with
Error: object of type 'NoneType' has no len()and searches that using whatever engine is provided (in my case duckduckgo)Steps to Reproduce
Logs & Screenshots
@mMabeck commented on GitHub (May 6, 2025):
Can you use the model openrouter.google/gemini-2.0-flash-exp:free normally in chat?
Otherwise try disabling search query generation in the admin settings.
@SerenoV7 commented on GitHub (May 6, 2025):
Yes I can use all models from openrouter correctly in normal chat and they even work with image generation, but as soon as I try to do web search it breaks
@Classic298 commented on GitHub (May 6, 2025):
I don't really see any error messages in the logs. What RAG settings do you have set? what is your GLOBAL_LOG_LEVEL set to? It's odd that it would fail silently without logs.
@SerenoV7 commented on GitHub (May 6, 2025):
Most of my settings are just the defaults that come with OpenWebUI's Docker Image so dunno what to say