[GH-ISSUE #2901] [Issue]: Deleted group chat members lose avatar/formatting and may still be referenced in LLM replies #1482

Closed
opened 2026-10-21 05:36:32 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In group chats, deleting a member removes that member’s avatar and formatting from the visible chat history. After removal, the LLM can also continue responding as if the deleted member is still present when enough prior history remains.

Expected behavior

Deleted group chat members should remain visually represented in existing history, and the model should stop treating removed members as active participants after they leave. Optional join/leave system messages could help reinforce membership changes.

Actual behavior

After a member is deleted, their avatar and formatting disappear from the chat history. In some cases, the LLM continues chatting as if the removed member still exists, even though the character block was confirmed removed from the prompt.

Steps to reproduce

  1. Open a group chat in Marinara Engine.
  2. Add or use a member with visible avatar/formatting in chat history.
  3. Delete/kick that member from the group chat.
  4. Observe the chat history and continue chatting with enough prior context for the model to keep responding as if the member is still present.

Environment

  • Marinara Engine version: 2.0.5
  • Install type: installer
  • OS + version: Windows 11
  • Browser or app shell: Chrome

Logs, screenshots, or video

Two screenshots were attached showing the before/after state when kicking a member (Sibyl).

Additional context

Reporter noted this is fairly minor. They also confirmed the removed character block was correctly absent from the prompt. They suggested automatically inserting chat messages when members join or leave, such as “Sibyl has joined the chat.” and “Sibyl has left the chat.”

Discord thread: 2.0.5 CONVO Group Chat - issues when deleting chat member
Thread link: https://discord.com/channels/1417099416812392641/1519796809755787304
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-06-25T20:09:55.905Z] Wozza: This is fairly minor and may not be worth fixing at the moment
2.0.5 | Installer Version | Windows 11 | Chrome

1) If you delete a member from a group chat you lose the avatar and formatting in the history of the chat for the deleted member. Before and after screenshots of kicking a member (Sibyl) attached.

2)  This second part is kind of just how LLM's work.  If you have enough chat history and then kick a chat member out of the group you can get a situation where the LLM just keeps chatting as if the kicked member is still there - presumably just following the patterns from the history in the prompt.  I peeked at these prompts and confirmed the actual character block in the prompt is correctly removed.

One thing that could possibly help with this is if it was possible to automatically insert text into the chat when group members join and leave. 

Example
"Sibyl  has joined the chat."
"Sibyl has left the chat."

[attached image 1: https://cdn.discordapp.com/attachments/1519796809755787304/1519796809931817212/Screenshot_2026-06-26_074105.png?ex=6a422853&is=6a40d6d3&hm=5558265f23bf61e148d0e4e2d1aabbfc1ae7307fcf1e4459e1cfe66155954b43&]
[attached image 2: https://cdn.discordapp.com/attachments/1519796809755787304/1519796810867150938/Screenshot_2026-06-26_074124.png?ex=6a422854&is=6a40d6d4&hm=2dc21304cf2d5afc298ef1e0448798da2387b38f144a4106b51238d071fe9ec7&]
[Discord message: https://discord.com/channels/1417099416812392641/1519796809755787304/1519796809755787304]

[2026-06-28T09:33:45.792Z] Marinara: 1) On it.
2) I can strengthen the prompt, I guess? And add those messages.
[Discord message: https://discord.com/channels/1417099416812392641/1519796809755787304/1520723876294950993]

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 (Jun 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2901 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In group chats, deleting a member removes that member’s avatar and formatting from the visible chat history. After removal, the LLM can also continue responding as if the deleted member is still present when enough prior history remains. ## Expected behavior Deleted group chat members should remain visually represented in existing history, and the model should stop treating removed members as active participants after they leave. Optional join/leave system messages could help reinforce membership changes. ## Actual behavior After a member is deleted, their avatar and formatting disappear from the chat history. In some cases, the LLM continues chatting as if the removed member still exists, even though the character block was confirmed removed from the prompt. ## Steps to reproduce 1. Open a group chat in Marinara Engine. 2. Add or use a member with visible avatar/formatting in chat history. 3. Delete/kick that member from the group chat. 4. Observe the chat history and continue chatting with enough prior context for the model to keep responding as if the member is still present. ## Environment - Marinara Engine version: 2.0.5 - Install type: installer - OS + version: Windows 11 - Browser or app shell: Chrome ## Logs, screenshots, or video Two screenshots were attached showing the before/after state when kicking a member (Sibyl). ## Additional context Reporter noted this is fairly minor. They also confirmed the removed character block was correctly absent from the prompt. They suggested automatically inserting chat messages when members join or leave, such as “Sibyl has joined the chat.” and “Sibyl has left the chat.” Discord thread: 2.0.5 CONVO Group Chat - issues when deleting chat member Thread link: https://discord.com/channels/1417099416812392641/1519796809755787304 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-06-25T20:09:55.905Z] Wozza: This is fairly minor and may not be worth fixing at the moment 2.0.5 | Installer Version | Windows 11 | Chrome 1) If you delete a member from a group chat you lose the avatar and formatting in the history of the chat for the deleted member. Before and after screenshots of kicking a member (Sibyl) attached. 2) This second part is kind of just how LLM's work. If you have enough chat history and then kick a chat member out of the group you can get a situation where the LLM just keeps chatting as if the kicked member is still there - presumably just following the patterns from the history in the prompt. I peeked at these prompts and confirmed the actual character block in the prompt is correctly removed. One thing that could possibly help with this is if it was possible to automatically insert text into the chat when group members join and leave. Example "Sibyl has joined the chat." "Sibyl has left the chat." [attached image 1: https://cdn.discordapp.com/attachments/1519796809755787304/1519796809931817212/Screenshot_2026-06-26_074105.png?ex=6a422853&is=6a40d6d3&hm=5558265f23bf61e148d0e4e2d1aabbfc1ae7307fcf1e4459e1cfe66155954b43&] [attached image 2: https://cdn.discordapp.com/attachments/1519796809755787304/1519796810867150938/Screenshot_2026-06-26_074124.png?ex=6a422854&is=6a40d6d4&hm=2dc21304cf2d5afc298ef1e0448798da2387b38f144a4106b51238d071fe9ec7&] [Discord message: https://discord.com/channels/1417099416812392641/1519796809755787304/1519796809755787304] [2026-06-28T09:33:45.792Z] Marinara: 1) On it. 2) I can strengthen the prompt, I guess? And add those messages. [Discord message: https://discord.com/channels/1417099416812392641/1519796809755787304/1520723876294950993] ``` </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:36:32 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 28, 2026):

Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.

<!-- gh-comment-id:4826061077 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with `pnpm check`. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.
Author
Owner

@SpicyMarinara commented on GitHub (Jun 28, 2026):

Follow-up residual fixed in staging work: character membership changes now invalidate the active chat message queries so join/leave markers appear immediately after a character is removed, and prompt normalization now keeps history-context system events in their chronological transcript position instead of folding them into the previous user turn. Added a prompt regression for the chronological marker case and verified with pnpm regression:prompt plus pnpm check.

<!-- gh-comment-id:4827626121 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Follow-up residual fixed in staging work: character membership changes now invalidate the active chat message queries so join/leave markers appear immediately after a character is removed, and prompt normalization now keeps history-context system events in their chronological transcript position instead of folding them into the previous user turn. Added a prompt regression for the chronological marker case and verified with `pnpm regression:prompt` plus `pnpm check`.
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#1482
No description provided.