[GH-ISSUE #3673] [Issue]: Preserve narrator-mode speaker tags in assistant context #1983

Closed
opened 2026-10-21 05:44:22 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In roleplay group chats using narrator mode, speaker tags are initially generated but are removed from prior assistant messages in the model context. Over time, the model stops using the tags despite the speaker-tag instruction being appended to the context.

Expected behavior

Speaker tags should remain available in relevant assistant-message context so the model consistently follows narrator-mode speaker-tag instructions.

Actual behavior

Speaker tags are removed from prior context, and the model eventually stops generating them. The speaker-tag instruction is still added at the end of the context, but the model begins ignoring it.

Steps to reproduce

  1. Start a roleplay group chat in narrator mode with speaker tags enabled or instructed.
  2. Continue the conversation until multiple tagged assistant responses have been generated.
  3. Observe that speaker tags are removed from prior assistant messages in the context.
  4. Continue chatting and observe that the model begins responding without speaker tags.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, or video provided. Maintainer stated that the speaker-tag instruction is added at the end of the context and suggested preventing tags from being cut from the last assistant message.

Additional context

The reporter also suspected that conversation-mode commands such as selfie commands were stripped and became less frequent over time. The maintainer clarified that commands are not stripped.

Discord thread: Over time in narrator mode speaker tags stop being used.
Discord thread link: https://discord.com/channels/1417099416812392641/1527208675712831488
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-07-16T07:02:02.455Z] SnoopingAsUsual: In roleplay group chat in narrator mode, initially the model will follow instructions and use speaker tags, but over time, as these get stripped back out in prior context and it sees itself not doing such in history (even though it has been, its just been stripped), it will start to no longer use them and ignore the instruction, is it possible that things like this could be kept in chat?

Other things that do this are commands in convo mode (selfie, and the like), which are also stripped out, so those will get more and more rare, too.
[Discord message: https://discord.com/channels/1417099416812392641/1527208675712831488/1527208675712831488]

[2026-07-16T07:49:10.511Z] Marinara: Commands don’t get stripped.
[Discord message: https://discord.com/channels/1417099416812392641/1527208675712831488/1527220537439424572]

[2026-07-16T07:50:07.719Z] Marinara: We are adding the instruction at the very end of context to add those tags, so your model is just straight up ignoring them. I can make it so the last assistant message doesn’t cut them.
[Discord message: https://discord.com/channels/1417099416812392641/1527208675712831488/1527220777387163738]

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 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3673 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In roleplay group chats using narrator mode, speaker tags are initially generated but are removed from prior assistant messages in the model context. Over time, the model stops using the tags despite the speaker-tag instruction being appended to the context. ## Expected behavior Speaker tags should remain available in relevant assistant-message context so the model consistently follows narrator-mode speaker-tag instructions. ## Actual behavior Speaker tags are removed from prior context, and the model eventually stops generating them. The speaker-tag instruction is still added at the end of the context, but the model begins ignoring it. ## Steps to reproduce 1. Start a roleplay group chat in narrator mode with speaker tags enabled or instructed. 2. Continue the conversation until multiple tagged assistant responses have been generated. 3. Observe that speaker tags are removed from prior assistant messages in the context. 4. Continue chatting and observe that the model begins responding without speaker tags. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, or video provided. Maintainer stated that the speaker-tag instruction is added at the end of the context and suggested preventing tags from being cut from the last assistant message. ## Additional context The reporter also suspected that conversation-mode commands such as selfie commands were stripped and became less frequent over time. The maintainer clarified that commands are not stripped. Discord thread: Over time in narrator mode speaker tags stop being used. Discord thread link: https://discord.com/channels/1417099416812392641/1527208675712831488 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-07-16T07:02:02.455Z] SnoopingAsUsual: In roleplay group chat in narrator mode, initially the model will follow instructions and use speaker tags, but over time, as these get stripped back out in prior context and it sees itself not doing such in history (even though it has been, its just been stripped), it will start to no longer use them and ignore the instruction, is it possible that things like this could be kept in chat? Other things that do this are commands in convo mode (selfie, and the like), which are also stripped out, so those will get more and more rare, too. [Discord message: https://discord.com/channels/1417099416812392641/1527208675712831488/1527208675712831488] [2026-07-16T07:49:10.511Z] Marinara: Commands don’t get stripped. [Discord message: https://discord.com/channels/1417099416812392641/1527208675712831488/1527220537439424572] [2026-07-16T07:50:07.719Z] Marinara: We are adding the instruction at the very end of context to add those tags, so your model is just straight up ignoring them. I can make it so the last assistant message doesn’t cut them. [Discord message: https://discord.com/channels/1417099416812392641/1527208675712831488/1527220777387163738] ``` </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:44:22 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jul 16, 2026):

Resolved in #3678: group speaker instructions are placed in output_format when present or on the last user turn, while the latest assistant speaker-tag example is preserved and older tags are trimmed. Prompt regressions and the full validation suite pass.

<!-- gh-comment-id:4990211939 --> @SpicyMarinara commented on GitHub (Jul 16, 2026): Resolved in #3678: group speaker instructions are placed in output_format when present or on the last user turn, while the latest assistant speaker-tag example is preserved and older tags are trimmed. Prompt regressions and the full validation suite pass.
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#1983
No description provided.