Timothy J. Baek 1 éve
szülő
commit
a0692a434d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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);