[GH-ISSUE #7481] [Feature]: Split a Roleplay reply into separate messages at POV breaks (***, ---) when Advanced Memory is on #4169

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

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

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

In Roleplay with Advanced Memory, one reply often follows several characters in different places. The model marks the switch with a scene-break line such as *** or ---. Example: the first part follows Cyno alone, then after *** the rest follows Mari and Maukie somewhere else entirely.

Who sees a message is decided per message: Decide who sees new messages, Hide from AI, and whispers. So today the whole reply has one audience, and Cyno's private part and the Mari/Maukie part can't be shown to different characters.

Proposed solution

When Advanced Memory is on in a Roleplay chat, split a new reply at each POV or scene-break line into separate messages from the same character.

  • Break lines: any Markdown thematic break on its own line, meaning 3 or more *, - or _, spaces allowed (***, ---, ___, * * *). Lines inside code blocks don't count, and neither do breaks that would leave an empty part.
  • The break line stays as the first line of the new message, so the switch is still visible in the chat and in the history the model reads.
  • Only new replies split. Swiping or regenerating a part gives a new version of that one message, unsplit, so swipes never insert extra messages.
  • Each part is a normal message, so Decide who sees new messages and manual hiding decide each part separately.
  • Things that belong to the whole turn, such as reasoning, trackers and generation info, attach in a consistent, documented way.

Alternatives considered

  • Asking the model to send separate replies: models can't produce several messages in one turn, and the break line is what they already write.
  • Hiding sections inside one message: the audience model is per message, and recall and archives depend on that.

Additional context

Requested by the maintainer on 2026-10-12, with decisions on the break line, the separators and swipes as above.

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 (Oct 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7481 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? In Roleplay with Advanced Memory, one reply often follows several characters in different places. The model marks the switch with a scene-break line such as `***` or `---`. Example: the first part follows Cyno alone, then after `***` the rest follows Mari and Maukie somewhere else entirely. Who sees a message is decided per message: **Decide who sees new messages**, Hide from AI, and whispers. So today the whole reply has one audience, and Cyno's private part and the Mari/Maukie part can't be shown to different characters. ## Proposed solution When Advanced Memory is on in a Roleplay chat, split a **new** reply at each POV or scene-break line into separate messages from the same character. - **Break lines:** any Markdown thematic break on its own line, meaning 3 or more `*`, `-` or `_`, spaces allowed (`***`, `---`, `___`, `* * *`). Lines inside code blocks don't count, and neither do breaks that would leave an empty part. - **The break line stays** as the first line of the new message, so the switch is still visible in the chat and in the history the model reads. - **Only new replies split.** Swiping or regenerating a part gives a new version of that one message, unsplit, so swipes never insert extra messages. - Each part is a normal message, so **Decide who sees new messages** and manual hiding decide each part separately. - Things that belong to the whole turn, such as reasoning, trackers and generation info, attach in a consistent, documented way. ## Alternatives considered - Asking the model to send separate replies: models can't produce several messages in one turn, and the break line is what they already write. - Hiding sections inside one message: the audience model is per message, and recall and archives depend on that. ## Additional context Requested by the maintainer on 2026-10-12, with decisions on the break line, the separators and swipes as above. ## 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.
Author
Owner

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

Fixed on staging by #7497.

<!-- gh-comment-id:6132572798 --> @SpicyMarinara commented on GitHub (Oct 12, 2026): Fixed on staging by #7497.
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#4169
No description provided.