1
0
Эх сурвалжийг харах

refac/fix: sources handling

Timothy Jaeryang Baek 2 сар өмнө
parent
commit
980b7c55a5

+ 1 - 1
src/lib/components/chat/Chat.svelte

@@ -1228,7 +1228,7 @@
 			await handleOpenAIError(error, message);
 		}
 
-		if (sources) {
+		if (sources && !message?.sources) {
 			message.sources = sources;
 		}