Timothy Jaeryang Baek 3 months ago
parent
commit
51de2ffcc0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/components/chat/Chat.svelte

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

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