Timothy J. Baek 11 ماه پیش
والد
کامیت
a0692a434d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/lib/components/chat/Messages/Citations.svelte

+ 1 - 1
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);