[GH-ISSUE #4115] [Issue]: User reply edits in RP Mode fail while assistant response is generating #2230

Closed
opened 2026-10-21 05:46:28 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Jul 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4115

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Roleplay chat/RP Mode, editing an existing user reply while the assistant is still generating can fail to save. Users report inconsistent save behavior between Ctrl+Enter and the green checkmark, and the edit box may close without preserving changes when generation finishes.

Expected behavior

Edits to a user's own post should save reliably in RP Mode regardless of whether the assistant is still generating, and both Ctrl+Enter and the green checkmark should behave consistently.

Actual behavior

While the assistant/LLM is generating a reply in RP Mode, edits to existing user chats may not save. If the edit box is open when generation completes, it can close automatically without saving. Edits to existing assistant/character chats reportedly still save normally.

Steps to reproduce

  1. Open a Roleplay chat in RP Mode.
  2. Send a user reply and wait for the assistant/LLM to start generating its response.
  3. Click the pencil icon to edit the existing user message.
  4. Change the text and try to save using the green checkmark or Ctrl+Enter.
  5. Observe that the edit may not save; if generation completes while edit mode is open, the editor can close and discard the changes.

Environment

  • Marinara Engine version: v2.3.5 (build 917c312)
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, or video were provided. Reproduced by DSBwizzard on Release v2.3.5 (build 917c312).

Additional context

Original report: save behavior feels random when editing a user's own reply; sometimes only Ctrl+Enter works and sometimes only the green checkmark works. Wozza reported this specifically in RP Mode and noted that editing while a response is still generating does not save, but waiting until generation finishes works. Marinara also noted that working agents may roll back changes.

Discord thread: Editing own post inconsistent saving
Discord thread link: https://discord.com/channels/1417099416812392641/1530693585928716588
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (6 messages)
[2026-07-25T21:49:49.797Z] Luka: Sometimes when I edit my own reply, I do not have to save correctly. sometimes clt enter works only and sometimes pressing the green check mark works, it seems random
[Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530693585928716588]

[2026-07-25T21:53:02.735Z] DSBwizzard: Is this in chats, like roleplay, conversation, game mode? Or is this in Noodle? Are you on a phone or a computer?
[Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530694395169476700]

[2026-07-25T21:53:46.858Z] DSBwizzard: And are you saying when the problem happens, the reply goes out of edit mode, and does not have your changes?
[Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530694580234747986]

[2026-07-25T22:12:58.274Z] Wozza: One version of this that I'm aware of is when you are editing your message in RP Mode.

Often I will see a typo in my message and I go back using the pencil icon (Edit) to fix it.  However if you do that while the response is still generating the edit does not save.  
If you wait until after the response is fully generated the Edit will work.
If you have the edit mode open when the response completes it automatically closes it without saving.
[Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530699409623351479]

[2026-07-25T22:22:50.941Z] DSBwizzard: I can repro this behaviour in Release: v2.3.5
Build: 917c312

In a Roleplay chat, when the Assistant/LLM is working on its reply, edits to existing User chats do not succeed when trying to save them.

Edits can be made to existing Assistant/character chats no problem.
[Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530701895449186456]

[2026-07-26T05:02:16.465Z] Marinara: Also, working agents may roll back changes; this needs to be fixed.
[Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530802414142095431]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4115 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Roleplay chat/RP Mode, editing an existing user reply while the assistant is still generating can fail to save. Users report inconsistent save behavior between Ctrl+Enter and the green checkmark, and the edit box may close without preserving changes when generation finishes. ## Expected behavior Edits to a user's own post should save reliably in RP Mode regardless of whether the assistant is still generating, and both Ctrl+Enter and the green checkmark should behave consistently. ## Actual behavior While the assistant/LLM is generating a reply in RP Mode, edits to existing user chats may not save. If the edit box is open when generation completes, it can close automatically without saving. Edits to existing assistant/character chats reportedly still save normally. ## Steps to reproduce 1. Open a Roleplay chat in RP Mode. 2. Send a user reply and wait for the assistant/LLM to start generating its response. 3. Click the pencil icon to edit the existing user message. 4. Change the text and try to save using the green checkmark or Ctrl+Enter. 5. Observe that the edit may not save; if generation completes while edit mode is open, the editor can close and discard the changes. ## Environment - Marinara Engine version: v2.3.5 (build 917c312) - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, or video were provided. Reproduced by DSBwizzard on Release v2.3.5 (build 917c312). ## Additional context Original report: save behavior feels random when editing a user's own reply; sometimes only Ctrl+Enter works and sometimes only the green checkmark works. Wozza reported this specifically in RP Mode and noted that editing while a response is still generating does not save, but waiting until generation finishes works. Marinara also noted that working agents may roll back changes. Discord thread: Editing own post inconsistent saving Discord thread link: https://discord.com/channels/1417099416812392641/1530693585928716588 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (6 messages)</summary> ```text [2026-07-25T21:49:49.797Z] Luka: Sometimes when I edit my own reply, I do not have to save correctly. sometimes clt enter works only and sometimes pressing the green check mark works, it seems random [Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530693585928716588] [2026-07-25T21:53:02.735Z] DSBwizzard: Is this in chats, like roleplay, conversation, game mode? Or is this in Noodle? Are you on a phone or a computer? [Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530694395169476700] [2026-07-25T21:53:46.858Z] DSBwizzard: And are you saying when the problem happens, the reply goes out of edit mode, and does not have your changes? [Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530694580234747986] [2026-07-25T22:12:58.274Z] Wozza: One version of this that I'm aware of is when you are editing your message in RP Mode. Often I will see a typo in my message and I go back using the pencil icon (Edit) to fix it. However if you do that while the response is still generating the edit does not save. If you wait until after the response is fully generated the Edit will work. If you have the edit mode open when the response completes it automatically closes it without saving. [Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530699409623351479] [2026-07-25T22:22:50.941Z] DSBwizzard: I can repro this behaviour in Release: v2.3.5 Build: 917c312 In a Roleplay chat, when the Assistant/LLM is working on its reply, edits to existing User chats do not succeed when trying to save them. Edits can be made to existing Assistant/character chats no problem. [Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530701895449186456] [2026-07-26T05:02:16.465Z] Marinara: Also, working agents may roll back changes; this needs to be fixed. [Discord message: https://discord.com/channels/1417099416812392641/1530693585928716588/1530802414142095431] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:46:28 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2230
No description provided.