Draw-it-out icon indicating copy to clipboard operation
Draw-it-out copied to clipboard

[Bug]: User sends an empty message to the chatbot

Open HarshadaGirase opened this issue 7 months ago • 3 comments

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:

  1. Open the chatbot interface.
  2. Attempt to send a message without typing any text.
  3. 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

drawbot

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

HarshadaGirase avatar Jul 10 '24 17:07 HarshadaGirase