diff --git a/src/lib/components/chat/Messages/Citations.svelte b/src/lib/components/chat/Messages/Citations.svelte index c5a2d6ea4..b6385e2b2 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 = { name: id, ...source, url: id }; + source = { ...source, name: id, url: id }; } const existingSource = acc.find((item) => item.id === id); @@ -89,28 +89,28 @@ /> {#if _citations.length > 0} -