[GH-ISSUE #303] [Issue]: Cross-conversation memory sharing gets confused #126

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

If I have a chat with Character X using persona A, and start a new chat with Character X using Persona B, the chat with persona B treats details from Persona A as being about Persona B.

For example, "I'm running errands tonight" from Persona A.

Talking to Persona B: "back from your errands already?"

Expected behavior

Personas should be properly separated across conversations.

Actual behavior

Personas are conflated by the character.

Steps to reproduce

Environment

  • Marinara Engine version: 1.5.6
  • Install type: source
  • OS + version: windows 11
  • Browser or app shell: browser

Logs, screenshots, or video

Additional context

I expect this is caused by storing/performing placeholder replacement -- {{user}} or equivalent is getting replaced with Persona B's name when the detail was about Persona A.

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 @WhatsUpJerks on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/303 Originally assigned to: @SpicyMarinara on GitHub. ## Summary <!-- What is wrong in one or two sentences? --> If I have a chat with Character X using persona A, and start a new chat with Character X using Persona B, the chat with persona B treats details from Persona A as being about Persona B. For example, "I'm running errands tonight" from Persona A. Talking to Persona B: "back from your errands already?" ## Expected behavior <!-- What should have happened? --> Personas should be properly separated across conversations. ## Actual behavior Personas are conflated by the character. <!-- What happened instead? --> ## Steps to reproduce 1. 2. 3. ## Environment - Marinara Engine version: 1.5.6 - Install type: source - OS + version: windows 11 - Browser or app shell: browser ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> I expect this is caused by storing/performing placeholder replacement -- {{user}} or equivalent is getting replaced with Persona B's name when the detail was about Persona A. ## 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:25:24 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Apr 29, 2026):

The reason is much simpler: in conversation mode, we never append the user's name to messages. So the model only receives information about the user (they get your persona card, it's just to them, you're always THE user, so that's why they get confused). Will take care of that.

<!-- gh-comment-id:4341555407 --> @SpicyMarinara commented on GitHub (Apr 29, 2026): The reason is much simpler: in conversation mode, we never append the user's name to messages. So the model only receives information about the user (they get your persona card, it's just to them, you're always THE user, so that's why they get confused). Will take care of that.
Author
Owner

@SpicyMarinara commented on GitHub (May 3, 2026):

v1.5.7.

<!-- gh-comment-id:4366264560 --> @SpicyMarinara commented on GitHub (May 3, 2026): v1.5.7.
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#126
No description provided.