From ca3a6cf26ff1683b77c72896afcc7df6166c5a9f Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sun, 11 Oct 2026 20:17:07 +0200 Subject: [PATCH] fix: external knowledge citations show the page address instead of the page title (#32232) Citations from external knowledge bases (Qdrant, Milvus, pgvector) whose source is a web address showed that full address in the source list below the answer, while the numbered citation markers in the answer text already showed the page title. The source list now shows the same title. Because of that, these citations no longer add a site icon to the sources button, which matches regular knowledge bases. Web search results keep showing their address. Fixes https://github.com/open-webui/open-webui/issues/32231 --- src/lib/components/chat/Messages/Citations.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Messages/Citations.svelte b/src/lib/components/chat/Messages/Citations.svelte index e53a8753f7..b01f6922cc 100644 --- a/src/lib/components/chat/Messages/Citations.svelte +++ b/src/lib/components/chat/Messages/Citations.svelte @@ -124,7 +124,7 @@ } if (id.startsWith('http://') || id.startsWith('https://')) { - _source = { ..._source, name: id, url: id }; + _source = { ..._source, name: metadata?.external ? _source.name : id, url: id }; } const existingSource = acc.find((item) => item.id === id);