diff --git a/src/lib/components/chat/Messages/Citations.svelte b/src/lib/components/chat/Messages/Citations.svelte index 407f8a02f..c5a2d6ea4 100644 --- a/src/lib/components/chat/Messages/Citations.svelte +++ b/src/lib/components/chat/Messages/Citations.svelte @@ -54,7 +54,7 @@ } if (id.startsWith('http://') || id.startsWith('https://')) { - source = { ...source, url: id }; + source = { name: id, ...source, url: id }; } const existingSource = acc.find((item) => item.id === id);