Timothy Jaeryang Baek 2 месяцев назад
Родитель
Сommit
980b7c55a5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/lib/components/chat/Chat.svelte

+ 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;
 		}