issue: Files added to knowledge are ignored after knowledge was added to custom model #5977

Closed
opened 2025-11-11 16:41:13 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @erhhung on GitHub (Aug 6, 2025).

Check Existing Issues

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

Installation Method

Other

Open WebUI Version

v0.6.18

Ollama Version (if applicable)

v0.9.6

Operating System

macOS 15.5

Browser (if applicable)

Arc 1.105.0

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

I have created a new knowledge collection (let's call it "My Knowledge") under Workspace => Knowledge, to which I've uploaded various files. I can #include the knowledge collection in my chats and query information from those files.

I then created a custom model (let's call it "My Model") under Workspace => Models, to which I attached "My Knowledge". I can now select "My Model" for my chats and query information as above.

I regularly add new files into "My Knowledge" to build up its capabilities; however, "My Model" does not seem to pick up on information from those new files. In fact, clicking on the "My Knowledge" button on the "My Model" edit page shows the original list of files when "My Knowledge" was first added to "My Model".

I expected that any new files added to "My Knowledge" would automatically be used by "My Model" given that I had attached the collection as a whole instead of attaching individual files.

Actual Behavior

New files added to a knowledge collection after that knowledge collection was first added to a custom model are not being used in new chats with that custom model.

Steps to Reproduce

See Expected Behavior section above.

Logs & Screenshots

Questions in new chats directly related to knowledge in the newly added files are not answered, while knowledge from the original file set are still correctly consulted.

Additional Information

No response

Originally created by @erhhung on GitHub (Aug 6, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Other ### Open WebUI Version v0.6.18 ### Ollama Version (if applicable) v0.9.6 ### Operating System macOS 15.5 ### Browser (if applicable) Arc 1.105.0 ### 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 I have created a new knowledge collection _(let's call it "My Knowledge")_ under **`Workspace`** => **`Knowledge`**, to which I've uploaded various files. I can `#`include the knowledge collection in my chats and query information from those files. I then created a custom model _(let's call it "My Model")_ under **`Workspace`** => **`Models`**, to which I attached "My Knowledge". I can now select "My Model" for my chats and query information as above. I regularly add new files into "My Knowledge" to build up its capabilities; however, "My Model" does not seem to pick up on information from those new files. In fact, clicking on the "My Knowledge" button on the "My Model" edit page shows the **original list of files** when "My Knowledge" was first added to "My Model". I expected that any new files added to "My Knowledge" would automatically be used by "My Model" given that I had attached the **collection** as a whole instead of attaching individual files. ### Actual Behavior New files added to a knowledge collection after that knowledge collection was first added to a custom model are not being used in new chats with that custom model. ### Steps to Reproduce See Expected Behavior section above. ### Logs & Screenshots Questions in new chats directly related to knowledge in the newly added files are not answered, while knowledge from the original file set are still correctly consulted. ### Additional Information _No response_
GiteaMirror added the bug label 2025-11-11 16:41:13 -06:00
Author
Owner

@tjbck commented on GitHub (Aug 6, 2025):

This should be addressed in dev with e9fb161bcd, testing wanted here!

@tjbck commented on GitHub (Aug 6, 2025): This should be addressed in dev with e9fb161bcd0b1b95a9b9fc535d7739a0523af179, testing wanted here!
Author
Owner

@spammenotinoz commented on GitHub (Aug 6, 2025):

This should be addressed in dev with e9fb161, testing wanted here!

For myself this did not resolve the issue with "non-admins, knowledge and custom models"

@spammenotinoz commented on GitHub (Aug 6, 2025): > This should be addressed in dev with [e9fb161](https://github.com/open-webui/open-webui/commit/e9fb161bcd0b1b95a9b9fc535d7739a0523af179), testing wanted here! For myself this did not resolve the issue with "non-admins, knowledge and custom models"
Author
Owner

@spammenotinoz commented on GitHub (Aug 6, 2025):

Believe this is duplicate of which was closed without resolution.
https://github.com/open-webui/open-webui/issues/15977

@spammenotinoz commented on GitHub (Aug 6, 2025): Believe this is duplicate of which was closed without resolution. https://github.com/open-webui/open-webui/issues/15977
Author
Owner

@tjbck commented on GitHub (Aug 6, 2025):

@spammenotinoz taking a look!

@tjbck commented on GitHub (Aug 6, 2025): @spammenotinoz taking a look!
Author
Owner

@tjbck commented on GitHub (Aug 6, 2025):

The issue was purely visual, Addressed with b9885529a5d3ff82dfb1b7d8cdf4f36173ab3b7f!

@tjbck commented on GitHub (Aug 6, 2025): The issue was purely visual, Addressed with b9885529a5d3ff82dfb1b7d8cdf4f36173ab3b7f!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5977