[GH-ISSUE #7380] Roleplay: a whisper-only message never reaches its recipient with Advanced Memory on #4112

Closed
opened 2026-10-21 06:10:55 +07:00 by bsakaguchi · 1 comment
Owner

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

What happens

In a Roleplay group chat with Advanced Memory on, send a message that is only a whisper, for example:

[whisper: character="Powers That Be" text="..."]

Then generate a reply from that character (or from the appointed narrator). The reply's prompt does not contain the whisper, and does not contain the message at all. Whispers the model writes still arrive, and a whisper inside a message with other text still arrives.

Why

The message is saved with an empty visible body, and the whisper is kept in its extra data. Advanced Memory's message selection (selectAdvancedMemoryMessages) keeps only messages with text or attachments, so the empty message is never in the kept history window. filterPromptHistoryByMessageIds then drops it from the prompt, and appendRoleplayWhispers has no message to attach the whisper to. Without Advanced Memory, the same message shows as [Private whisper] and the whisper reaches its recipient.

Peek Prompt (dry run) has the same gap.

Expected

A whisper-only message inside the kept history window reaches its recipient and the appointed narrator, as it does without Advanced Memory.

Originally created by @SpicyMarinara on GitHub (Oct 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7380 ## What happens In a Roleplay group chat with **Advanced Memory** on, send a message that is only a whisper, for example: ``` [whisper: character="Powers That Be" text="..."] ``` Then generate a reply from that character (or from the appointed narrator). The reply's prompt does not contain the whisper, and does not contain the message at all. Whispers the model writes still arrive, and a whisper inside a message with other text still arrives. ## Why The message is saved with an empty visible body, and the whisper is kept in its extra data. Advanced Memory's message selection (`selectAdvancedMemoryMessages`) keeps only messages with text or attachments, so the empty message is never in the kept history window. `filterPromptHistoryByMessageIds` then drops it from the prompt, and `appendRoleplayWhispers` has no message to attach the whisper to. Without Advanced Memory, the same message shows as `[Private whisper]` and the whisper reaches its recipient. Peek Prompt (dry run) has the same gap. ## Expected A whisper-only message inside the kept history window reaches its recipient and the appointed narrator, as it does without Advanced Memory.
bsakaguchi 2026-10-21 06:10:55 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 10, 2026):

Fixed on staging by #7381.

<!-- gh-comment-id:6092988550 --> @SpicyMarinara commented on GitHub (Oct 10, 2026): Fixed on staging by #7381.
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#4112
No description provided.