From a0692a434dca286fcd1e4665d2ccea8487e0157c Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 22 Oct 2024 03:40:03 -0700 Subject: [PATCH] refac --- 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 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);