[GH-ISSUE #15734] issue: Citation's are broken for non-native tool calls in v0.6.16 #33180

Closed
opened 2026-04-25 07:05:05 -05:00 by GiteaMirror · 16 comments
Owner

Originally created by @ctcanbol on GitHub (Jul 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15734

Originally assigned to: @tjbck on GitHub.

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

v0.6.16

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

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

Citation's listed properly as below (from v0.6.15):

Image

Actual Behavior

Same container same model only changed open webui version (from v0.6.16):

Image

Steps to Reproduce

Install https://openwebui.com/t/constliakos/web_search tool and configure necessary valves with citations open (or you can try to add citations for any tool's emitter).

await __event_emitter__(
  {
    "type": "citation",
    "data": {
      "document": [truncated_content],
      "metadata": [{"source": url_site}],
      "source": {"name": title_site},
    },
  }
)

Logs & Screenshots

.

Additional Information

Models with native tool call support are working as expected. The problem exists only in non-native ones.

Originally created by @ctcanbol on GitHub (Jul 15, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/15734 Originally assigned to: @tjbck on GitHub. ### 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 v0.6.16 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### 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 Citation's listed properly as below (from v0.6.15): <img width="725" height="110" alt="Image" src="https://github.com/user-attachments/assets/71f2ae8b-89fa-4c57-b2fc-10e4fce6f109" /> ### Actual Behavior Same container same model only changed open webui version (from v0.6.16): <img width="485" height="105" alt="Image" src="https://github.com/user-attachments/assets/8675f720-1fa5-47e2-8769-847f82aea3f9" /> ### Steps to Reproduce Install https://openwebui.com/t/constliakos/web_search tool and configure necessary valves with citations open (or you can try to add citations for any tool's emitter). ```python await __event_emitter__( { "type": "citation", "data": { "document": [truncated_content], "metadata": [{"source": url_site}], "source": {"name": title_site}, }, } ) ``` ### Logs & Screenshots . ### Additional Information Models with native tool call support are working as expected. The problem exists only in non-native ones.
GiteaMirror added the bug label 2026-04-25 07:05:05 -05:00
Author
Owner

@jars101 commented on GitHub (Jul 15, 2025):

Since update to v0.6.16 my RAG results dont show citations - im using hybrid search and have a function that activates web search automatically

<!-- gh-comment-id:3074388532 --> @jars101 commented on GitHub (Jul 15, 2025): Since update to v0.6.16 my RAG results dont show citations - im using hybrid search and have a function that activates web search automatically
Author
Owner

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

Taking a look!

<!-- gh-comment-id:3074571163 --> @tjbck commented on GitHub (Jul 15, 2025): Taking a look!
Author
Owner

@guenhter commented on GitHub (Jul 16, 2025):

We also experience the same issue. If I use a knowledge base without hybrid search, documents are properly used and shown in the response. If I turn hybrid search on, the answer is as if the documents are not used at all. Also no references or any indications that documents are used.

<!-- gh-comment-id:3077412062 --> @guenhter commented on GitHub (Jul 16, 2025): We also experience the same issue. If I use a knowledge base without hybrid search, documents are properly used and shown in the response. If I turn hybrid search on, the answer is as if the documents are not used at all. Also no references or any indications that documents are used.
Author
Owner

@guenhter commented on GitHub (Jul 16, 2025):

@tjbck fix is done with https://github.com/open-webui/open-webui/pull/15770

<!-- gh-comment-id:3077779323 --> @guenhter commented on GitHub (Jul 16, 2025): @tjbck fix is done with https://github.com/open-webui/open-webui/pull/15770
Author
Owner

@guenhter commented on GitHub (Jul 16, 2025):

Workaround:

The issue should not happen, if a Reranking Model is configured

<!-- gh-comment-id:3077812317 --> @guenhter commented on GitHub (Jul 16, 2025): Workaround: The issue should not happen, if a Reranking Model is configured
Author
Owner

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

@guenhter this is entirely unrelated to hybrid search (which has been addressed with abe280f0a3) and has to do with the tool handling refactor introudced in 0.6.16

<!-- gh-comment-id:3077815841 --> @tjbck commented on GitHub (Jul 16, 2025): @guenhter this is entirely unrelated to hybrid search (which has been addressed with abe280f0a3eab3db8717c6417bd94543fc56a756) and has to do with the tool handling refactor introudced in 0.6.16
Author
Owner

@guenhter commented on GitHub (Jul 16, 2025):

Understood. Sry about that.

<!-- gh-comment-id:3077847675 --> @guenhter commented on GitHub (Jul 16, 2025): Understood. Sry about that.
Author
Owner

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

Addressed with 980b7c55a5 in dev!

<!-- gh-comment-id:3078092559 --> @tjbck commented on GitHub (Jul 16, 2025): Addressed with 980b7c55a55bcd1fef0a6d52db2df3502cccef6a in dev!
Author
Owner

@ctcanbol commented on GitHub (Jul 16, 2025):

Thanks for the quick fix! @tjbck

<!-- gh-comment-id:3078263308 --> @ctcanbol commented on GitHub (Jul 16, 2025): Thanks for the quick fix! @tjbck
Author
Owner

@jars101 commented on GitHub (Jul 16, 2025):

Thank you , will ghcr.io/open-webui/open-webui be updated?

<!-- gh-comment-id:3079500745 --> @jars101 commented on GitHub (Jul 16, 2025): Thank you , will ghcr.io/open-webui/open-webui be updated?
Author
Owner

@jars101 commented on GitHub (Jul 18, 2025):

This remains an issue for me, citations/references with hybrid-search under v0.6.16 do not work. If i downgrade to v0.6.15 it works just fine.

<!-- gh-comment-id:3090600258 --> @jars101 commented on GitHub (Jul 18, 2025): This remains an issue for me, citations/references with hybrid-search under v0.6.16 do not work. If i downgrade to v0.6.15 it works just fine.
Author
Owner

@sanchitbhavsar commented on GitHub (Jul 21, 2025):

@tjbck this still does not work in v0.6.18 as citations/references are not visible

<!-- gh-comment-id:3096689498 --> @sanchitbhavsar commented on GitHub (Jul 21, 2025): @tjbck this still does not work in v0.6.18 as citations/references are not visible
Author
Owner

@sanchitbhavsar commented on GitHub (Jul 23, 2025):

@tjbck could you please check and let me know as still no references are shown in the latest version

<!-- gh-comment-id:3106522009 --> @sanchitbhavsar commented on GitHub (Jul 23, 2025): @tjbck could you please check and let me know as still no references are shown in the latest version
Author
Owner

@sanchitbhavsar commented on GitHub (Jul 23, 2025):

Thanks for the quick fix! @tjbck

@ctcanbol did it fix for you?

<!-- gh-comment-id:3106572233 --> @sanchitbhavsar commented on GitHub (Jul 23, 2025): > Thanks for the quick fix! [@tjbck](https://github.com/tjbck) @ctcanbol did it fix for you?
Author
Owner

@ctcanbol commented on GitHub (Jul 23, 2025):

Yes my issue fixed with the relevant commit in 0.6.16. Btw; i'm also using hybrid search in document processing and getting the correct citations/references with 0.6.18:

Image Image
<!-- gh-comment-id:3106981068 --> @ctcanbol commented on GitHub (Jul 23, 2025): Yes my issue fixed with the relevant commit in 0.6.16. Btw; i'm also using hybrid search in document processing and getting the correct citations/references with 0.6.18: <img width="493" height="98" alt="Image" src="https://github.com/user-attachments/assets/96153ef5-df54-4833-8629-17de665e28ee" /> <img width="1442" height="515" alt="Image" src="https://github.com/user-attachments/assets/659bcef1-7ab8-4d30-b00f-9ef48a340653" />
Author
Owner

@sanchitbhavsar commented on GitHub (Jul 23, 2025):

@ctcanbol @tjbck I do not have the hybrid search enabled.

<!-- gh-comment-id:3107200456 --> @sanchitbhavsar commented on GitHub (Jul 23, 2025): @ctcanbol @tjbck I do not have the hybrid search enabled.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33180