supermemory icon indicating copy to clipboard operation
supermemory copied to clipboard

Enhancement: Multiple Prompts creating a mess in the chat

Open ryujan404 opened this issue 2 months ago • 5 comments

Hi,

The chat interface lacks proper status checking and a stop mechanism, allowing users to send multiple prompts while AI is still generating responses. This causes overlapping responses and unintended behavior in the chat.

Current Behavior:

  1. User can send new messages while previous response is still streaming
  2. No stop/cancel button exists to abort generation
  3. Multiple prompts queued up create overlapping/mixed responses
  4. Chat becomes difficult to follow with interleaved messages

https://github.com/user-attachments/assets/cef50af1-e924-41b3-ab10-dbb9c224119a

ryujan404 avatar Oct 28 '25 13:10 ryujan404

ENG-352

linear[bot] avatar Oct 28 '25 13:10 linear[bot]

I'd like to work on this issue. I've identified the root cause and have a solution ready.

Will submit a PR addressing:

  • Form submission blocking during streaming states
  • Stop button implementation with proper event handling
  • Status-based UI rendering

Please let me know if there are any preferences for the implementation approach.

ryujan404 avatar Oct 28 '25 13:10 ryujan404

@MaheshtheDev can you pls look once into this issue

ryujan404 avatar Oct 29 '25 01:10 ryujan404

@MaheshtheDev can you pls look once into this issue

reviewed and added comments

MaheshtheDev avatar Oct 30 '25 16:10 MaheshtheDev

@MaheshtheDev Hey is this issue still open i would like to contribute!

prabhath004 avatar Nov 04 '25 06:11 prabhath004

Hello @MaheshtheDev, can you assign this issue to me.

shubham2345 avatar Nov 13 '25 08:11 shubham2345

@MaheshtheDev could you please assign this issue to me......I would like to contribute to the team

Riya-chandra avatar Nov 15 '25 19:11 Riya-chandra

Hey @MaheshtheDev i would like to solve this issue and contribute to the team. Solution:

  • add a state based rendering stop button
  • disable the send button when the chat is fetching data
  • when the user clicks stop button, stop the data fetch

fynix-dev avatar Nov 17 '25 03:11 fynix-dev