Wait for AI response before letting user send another message in GUI

This commit is contained in:
2024-03-09 03:12:19 -05:00
parent 226f4bf409
commit 0ab585943f
3 changed files with 28 additions and 2 deletions

View File

@@ -15,7 +15,7 @@
<footer>
<form id="chatForm" class="chat-form">
<input id="promptInput" type="text" placeholder="Enter your prompt" autofocus>
<button type="submit" id="sendPrompt">Send</button>
<button id="sendButton" onclick="sendPrompt()">Send</button>
</form>
</footer>
</div>