[GH-ISSUE #18335] issue: Continue Response Button Restarts Answer When Using RAG/Knowledge Base in OpenWebUI #18565

Closed
opened 2026-04-20 00:47:00 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @fgonzalez-glmc on GitHub (Oct 14, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18335

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

0.6.33

Ollama Version (if applicable)

No response

Operating System

Debian 12

Browser (if applicable)

No response

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

Clicking the "Continue" button should result in the model continuing its previous response, not starting the answer from the beginning.

Actual Behavior

The "Continue response" button in OpenWebUI does not behave as expected when using a custom model with a knowledge base (i.e., when RAG search is performed before answering). When I click "Continue," instead of continuing the previous response, it restarts the answer from the beginning, as if responding for the first time. This issue only occurs when a RAG search is involved. If I use a model without an attached knowledge base (no RAG query), the "Continue" button works correctly and continues the previous answer.

Steps to Reproduce

  1. Attach a knowledge base to a custom model in OpenWebUI.
  2. Ask a question so that a RAG search is triggered before the model answers.
  3. After receiving the initial LLM response, click the "Continue" response button.
  4. Observe that the response restarts from the root instead of continuing.

Logs & Screenshots

In this test, i wanted to continue the code generation because it has stopped. When i clicked on continue response, instead of continuing were it left off it started generating the code block again (line 137).

Image

Additional Information

No response

Originally created by @fgonzalez-glmc on GitHub (Oct 14, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18335 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version 0.6.33 ### Ollama Version (if applicable) _No response_ ### Operating System Debian 12 ### Browser (if applicable) _No response_ ### 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. - [x] 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 Clicking the "Continue" button should result in the model continuing its previous response, not starting the answer from the beginning. ### Actual Behavior The "Continue response" button in OpenWebUI does not behave as expected when using a custom model with a knowledge base (i.e., when RAG search is performed before answering). When I click "Continue," instead of continuing the previous response, it restarts the answer from the beginning, as if responding for the first time. This issue only occurs when a RAG search is involved. If I use a model without an attached knowledge base (no RAG query), the "Continue" button works correctly and continues the previous answer. ### Steps to Reproduce 1. Attach a knowledge base to a custom model in OpenWebUI. 2. Ask a question so that a RAG search is triggered before the model answers. 3. After receiving the initial LLM response, click the "Continue" response button. 4. Observe that the response restarts from the root instead of continuing. ### Logs & Screenshots In this test, i wanted to continue the code generation because it has stopped. When i clicked on continue response, instead of continuing were it left off it started generating the code block again (line 137). <img width="2468" height="938" alt="Image" src="https://github.com/user-attachments/assets/f314d6f7-3d00-4ce4-8e3c-4aeeda85c96f" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-04-20 00:47:00 -05:00
Author
Owner

@tjbck commented on GitHub (Oct 14, 2025):

Model dependent behaviour.

<!-- gh-comment-id:3403139420 --> @tjbck commented on GitHub (Oct 14, 2025): Model dependent behaviour.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18565