Draw-it-out
Draw-it-out copied to clipboard
[Bug]: User sends an empty message to the chatbot
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
Description : When a user sends a message to the chatbot without entering any text, the chatbot should respond appropriately. This issue is to ensure that the chatbot can handle such scenarios gracefully.
Steps to Reproduce:
- Open the chatbot interface.
- Attempt to send a message without typing any text.
- Observe the chatbot's response.
Possible Solution: Implement a check in the chatbot's message handler to detect empty messages and respond with a predefined prompt.
Expected behavior
The chatbot should detect the empty message and respond with a prompt, such as "It seems like you haven't entered any text. How can I assist you today?"
Add ScreenShots
On which device are you experiencing this bug?
Chrome, Windows
Record
- [X] I have read the Contributing Guidelines
- [X] I'm a GSSOC'24 contributor
- [X] I'm a SSOC'24 contributor
- [X] I want to work on this issue