Timothy J. Baek 10 달 전
부모
커밋
c9137edf5a
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/lib/components/chat/Chat.svelte

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

@@ -297,9 +297,11 @@
 
 	const submitPrompt = async (userPrompt, _user = null) => {
 		// Reset chat input textarea
-		prompt = '';
+		document.getElementById('chat-textarea').value = '';
 		document.getElementById('chat-textarea').style.height = '';
 
+		prompt = '';
+
 		let _responses = [];
 		console.log('submitPrompt', $chatId);