[GH-ISSUE #820] [Issue]: Regenerate loses /narrator and /impersonate prompt context #398

Closed
opened 2026-10-20 17:28:24 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Xelvanis on GitHub (May 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/820

Originally assigned to: @Xelvanis on GitHub.

Summary

Regenerating a message that was originally generated with /narrator or /impersonate does not preserve the slash-command prompt context. The regenerated swipe behaves like a normal regenerate instead of reusing the original narrator direction or impersonation instruction.

Expected behavior

When a user regenerates a response produced by /narrator <direction>, the new swipe should keep using that narrator direction.

When a user regenerates a response produced by /impersonate [direction], the new swipe should keep using impersonation mode and the original direction/settings.

Actual behavior

The regenerate request only carries the target message ID, so the command-specific fields are lost. /narrator guidance is absent from the regenerated prompt, and /impersonate regenerates as a normal assistant response rather than as the user's character.

Steps to reproduce

  1. Open a roleplay chat with generation configured.
  2. Send /narrator steer the scene toward the docks or /impersonate answer like you are hiding something.
  3. Use the regenerate button on the generated message.
  4. Compare the regenerated prompt/behavior with the original command-driven generation.

Environment

  • Marinara Engine version: Current main / 1.5.9-era local reproduction
  • Install type: Not provided by reporter
  • OS + version: Not provided by reporter
  • Browser or app shell: Not provided by reporter

Logs, screenshots, or video

No user screenshots provided. Local reproduction confirmed the request-level issue: original slash-command generations include generationGuide/generationGuideSource or impersonate/userMessage, while regenerate requests only include regenerateMessageId and default those command fields away.

Additional context

Original user report: "How to regenerate messages with /narrator or /impersonate. When i hit the regenerate button the prompt seems to get lost"

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 @Xelvanis on GitHub (May 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/820 Originally assigned to: @Xelvanis on GitHub. ## Summary Regenerating a message that was originally generated with `/narrator` or `/impersonate` does not preserve the slash-command prompt context. The regenerated swipe behaves like a normal regenerate instead of reusing the original narrator direction or impersonation instruction. ## Expected behavior When a user regenerates a response produced by `/narrator <direction>`, the new swipe should keep using that narrator direction. When a user regenerates a response produced by `/impersonate [direction]`, the new swipe should keep using impersonation mode and the original direction/settings. ## Actual behavior The regenerate request only carries the target message ID, so the command-specific fields are lost. `/narrator` guidance is absent from the regenerated prompt, and `/impersonate` regenerates as a normal assistant response rather than as the user's character. ## Steps to reproduce 1. Open a roleplay chat with generation configured. 2. Send `/narrator steer the scene toward the docks` or `/impersonate answer like you are hiding something`. 3. Use the regenerate button on the generated message. 4. Compare the regenerated prompt/behavior with the original command-driven generation. ## Environment - Marinara Engine version: Current main / 1.5.9-era local reproduction - Install type: Not provided by reporter - OS + version: Not provided by reporter - Browser or app shell: Not provided by reporter ## Logs, screenshots, or video No user screenshots provided. Local reproduction confirmed the request-level issue: original slash-command generations include `generationGuide`/`generationGuideSource` or `impersonate`/`userMessage`, while regenerate requests only include `regenerateMessageId` and default those command fields away. ## Additional context Original user report: "How to regenerate messages with /narrator or /impersonate. When i hit the regenerate button the prompt seems to get lost" ## 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-20 17:28:24 +07:00
  • closed this issue
  • added the
    bug
    label
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#398
No description provided.