Timothy Jaeryang Baek 3 kuukautta sitten
vanhempi
commit
51de2ffcc0
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/lib/components/chat/Chat.svelte

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

@@ -1397,7 +1397,7 @@
 		await tick();
 
 		// Save chat after all messages have been created
-		saveChatHandler(_chatId);
+		await saveChatHandler(_chatId);
 
 		await Promise.all(
 			selectedModelIds.map(async (modelId, _modelIdx) => {