[GH-ISSUE #16093] issue: web search sql instead of generated terms #33310

Closed
opened 2026-04-25 07:13:32 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @branep on GitHub (Jul 28, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16093

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

0.6.18

Ollama Version (if applicable)

0.9.6

Operating System

macOS 15.5

Browser (if applicable)

Vivaldi 7.5.3735.56 (Stable channel) (arm64)

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

A search related to the prompt, returning related content.

Actual Behavior

Returns pages unrelated to search

Steps to Reproduce

Select web search and submit the prompt.

Logs & Screenshots

Any web search requests generates the following:
open-webui 2025-07-28 14:23:38.058 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search wi ││ th ('brave', ["SELECT * FROM customers WHERE country='USA'"]) - {}

Websearch config:
Image

Additional Information

No response

Originally created by @branep on GitHub (Jul 28, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16093 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.18 ### Ollama Version (if applicable) 0.9.6 ### Operating System macOS 15.5 ### Browser (if applicable) Vivaldi 7.5.3735.56 (Stable channel) (arm64) ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [ ] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior A search related to the prompt, returning related content. ### Actual Behavior Returns pages unrelated to search ### Steps to Reproduce Select web search and submit the prompt. ### Logs & Screenshots Any web search requests generates the following: ``` open-webui 2025-07-28 14:23:38.058 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search wi ││ th ('brave', ["SELECT * FROM customers WHERE country='USA'"]) - {}``` Websearch config: <img width="1181" height="562" alt="Image" src="https://github.com/user-attachments/assets/334bb157-6582-4f31-9230-fe58eaa908c6" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-25 07:13:32 -05:00
Author
Owner

@branep commented on GitHub (Jul 28, 2025):

another example:
│ open-webui 2025-07-28 14:42:31.179 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search wi ││ th ('brave', ['What would you like to search for?']) - {}

websearch screenshot:
Image

<!-- gh-comment-id:3127577763 --> @branep commented on GitHub (Jul 28, 2025): another example: ```│ open-webui 2025-07-28 14:42:31.179 | INFO | open_webui.routers.retrieval:process_web_search:1914 - trying to web search wi ││ th ('brave', ['What would you like to search for?']) - {}``` websearch screenshot: <img width="1042" height="607" alt="Image" src="https://github.com/user-attachments/assets/342fad64-1fa4-4c1a-914c-a5f7b815cda1" />
Author
Owner

@tjbck commented on GitHub (Jul 28, 2025):

Unable to reproduce, most likely has something to do with your query generation prompt template or the model used to generate the queries.

<!-- gh-comment-id:3129786635 --> @tjbck commented on GitHub (Jul 28, 2025): Unable to reproduce, most likely has something to do with your query generation prompt template or the model used to generate the queries.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33310