[GH-ISSUE #20329] issue: Referencing Knowledge in chats with '#' shows undefined instead of which knowledge base does the file belong to #34682

Closed
opened 2026-04-25 08:46:50 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @donatas-xyz on GitHub (Jan 2, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20329

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

0.6.43

Ollama Version (if applicable)

0.13.5

Operating System

Ubuntu 25.10

Browser (if applicable)

Vivaldi

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

Hovering over the file name being referenced with # the knowledge base the file belongs to should also be shown.

Actual Behavior

Starting version 0.6..42-43 hovering over the file name being referenced with # - the knowledge base the file belongs to is no longer displayed - only the undefined string.

Steps to Reproduce

  1. Set up new Knowledge in Workspace (or use an existing one).
  2. Upload a file to it.
  3. Go to chats
  4. Reference the file with #
  5. Hover over the file name to see which Knowledge does it belong to

Logs & Screenshots

Image

Additional Information

Python version: 3.12
Related to #19491 and possibly to #20229

Originally created by @donatas-xyz on GitHub (Jan 2, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/20329 ### 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 have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version 0.6.43 ### Ollama Version (if applicable) 0.13.5 ### Operating System Ubuntu 25.10 ### Browser (if applicable) Vivaldi ### 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 Hovering over the file name being referenced with # the knowledge base the file belongs to should also be shown. ### Actual Behavior Starting version 0.6..42-43 hovering over the file name being referenced with # - the knowledge base the file belongs to is no longer displayed - only the `undefined` string. ### Steps to Reproduce 1. Set up new Knowledge in Workspace (or use an existing one). 2. Upload a file to it. 3. Go to chats 4. Reference the file with # 5. Hover over the file name to see which Knowledge does it belong to ### Logs & Screenshots <img width="330" height="351" alt="Image" src="https://github.com/user-attachments/assets/4223f06b-f007-4165-8f6b-e66f5ea4eff6" /> ### Additional Information Python version: 3.12 Related to #19491 and possibly to #20229
GiteaMirror added the bugconfirmed issue labels 2026-04-25 08:46:50 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (Jan 2, 2026):

🔍 Similar Issues Found

I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:

  1. #19491 issue: Referencing Knowledge in chats with '#' no longer shows which knowledge base does the file belong to
    by donatas-xyz • Nov 25, 2025 • bug

  2. #19752 issue: minor UI Bug: knowledge sharing
    by mahenning • Dec 04, 2025 • bug

  3. #20236 issue: Select knowledge within Folders
    by liucoj • Dec 29, 2025 • bug

  4. #19905 issue: Knowlege provided as "entire document" / "bypass embedding" is always injected at the END of chat flow, breaking KV prefix caching
    by adhusch • Dec 12, 2025 • bug

  5. #20229 issue: Knowledge Base not visible when shared with multiple groups (SQLite)
    by taka817123 • Dec 29, 2025 • bug

Show 5 more related issues
  1. #19877 issue:
    by dotmobo • Dec 11, 2025 • bug

  2. #16588 issue: Public knowledge is not visible in the /knowledge page but it is in chat prompt
    by jsweetzer-ea • Aug 13, 2025 • bug

  3. #11592 issue:
    by sellerskyle • Mar 12, 2025 • bug

  4. #17700 issue: Using single file from knowledge base is not working
    by DrZoidberg09 • Sep 24, 2025 • bug

  5. #16794 issue: When "Knowledge" is disabled for users, it is still possible to add "Knowledge" to chat Folders
    by jsweetzer-ea • Aug 21, 2025 • bug


💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3705478055 --> @owui-terminator[bot] commented on GitHub (Jan 2, 2026): 🔍 **Similar Issues Found** I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions: 1. [#19491](https://github.com/open-webui/open-webui/issues/19491) **issue: Referencing Knowledge in chats with '#' no longer shows which knowledge base does the file belong to** *by donatas-xyz • Nov 25, 2025 • `bug`* 2. [#19752](https://github.com/open-webui/open-webui/issues/19752) **issue: minor UI Bug: knowledge sharing** *by mahenning • Dec 04, 2025 • `bug`* 3. [#20236](https://github.com/open-webui/open-webui/issues/20236) **issue: Select knowledge within Folders** *by liucoj • Dec 29, 2025 • `bug`* 4. [#19905](https://github.com/open-webui/open-webui/issues/19905) **issue: Knowlege provided as "entire document" / "bypass embedding" is always injected at the END of chat flow, breaking KV prefix caching** *by adhusch • Dec 12, 2025 • `bug`* 5. [#20229](https://github.com/open-webui/open-webui/issues/20229) **issue: Knowledge Base not visible when shared with multiple groups (SQLite)** *by taka817123 • Dec 29, 2025 • `bug`* <details> <summary>Show 5 more related issues</summary> 6. [#19877](https://github.com/open-webui/open-webui/issues/19877) **issue:** *by dotmobo • Dec 11, 2025 • `bug`* 7. [#16588](https://github.com/open-webui/open-webui/issues/16588) **issue: Public knowledge is not visible in the /knowledge page but it is in chat prompt** *by jsweetzer-ea • Aug 13, 2025 • `bug`* 8. [#11592](https://github.com/open-webui/open-webui/issues/11592) **issue:** *by sellerskyle • Mar 12, 2025 • `bug`* 9. [#17700](https://github.com/open-webui/open-webui/issues/17700) **issue: Using single file from knowledge base is not working** *by DrZoidberg09 • Sep 24, 2025 • `bug`* 10. [#16794](https://github.com/open-webui/open-webui/issues/16794) **issue: When "Knowledge" is disabled for users, it is still possible to add "Knowledge" to chat Folders** *by jsweetzer-ea • Aug 21, 2025 • `bug`* </details> --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Author
Owner

@silentoplayz commented on GitHub (Jan 2, 2026):

I am able to reproduce this issue on the latest dev branch. It should be a relatively easy fix, so I'll see if I can submit a PR to address this one.

<!-- gh-comment-id:3705571756 --> @silentoplayz commented on GitHub (Jan 2, 2026): I am able to reproduce this issue on the latest dev branch. It should be a relatively easy fix, so I'll see if I can submit a PR to address this one.
Author
Owner

@silentoplayz commented on GitHub (Jan 3, 2026):

Addressed on the dev branch with 8712446cc1.

<!-- gh-comment-id:3707102006 --> @silentoplayz commented on GitHub (Jan 3, 2026): Addressed on the `dev` branch with https://github.com/open-webui/open-webui/commit/8712446cc16ebf967715c134b2840bbc7ccf13f2.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#34682