mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 23:21:44 -05:00
[GH-ISSUE #17426] issue: Unprocessable Entity in Brave search #18280
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 @scionaltera on GitHub (Sep 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17426
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.6.28
Ollama Version (if applicable)
0.11.10
Operating System
Sequoia 15.6.1
Browser (if applicable)
Brave 1.82.161 arm64
Confirmation
README.md.Expected Behavior
Using qwen3:30b with Brave Web Search enabled, the LLM's "thinking" output is discarded and only the text of the search query is fed to Brave's API.
Actual Behavior
Using qwen3:30b with Brave Web Search enabled, occasionally the search query will contain the LLM's "thinking" output as part of the query:
This results in the API responding with 422, Unprocessable Entity.
It doesn't do this every time, but if you try a few times you should see it. You can clearly see in the URL that is generated that it contains the thinking output from qwen that has been mistakenly included.
Steps to Reproduce
brew install ollama.brew services start ollama.docker-compose.yml.docker compose up.Logs & Screenshots
Additional Information
I also observed this issue with ollama and open-webui both running in Docker on a Win11 machine, so I don't think it is OS dependent. I don't use any other models that have the "thinking" functionality so I don't know if it is specific to qwen or if any thinking model will do it. It seems like an issue with parsing the
<think>tags in the output, perhaps if the tokens include unexpected characters.@tjbck commented on GitHub (Sep 15, 2025):
Unable to reproduce.