[GH-ISSUE #6862] [Bug]: Reply does not tag/target the character being replied to #3846

Closed
opened 2026-10-21 06:08:07 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @scavru on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6862

Originally assigned to: @SpicyMarinara on GitHub.

When using Reply on a character's message, the response should be directed to the character whose message was replied to.

Currently, using Reply does not appear to preserve the target character. Instead, another character may respond as if the user's message was addressed to them.

Steps to reproduce
Open a chat with multiple characters.
Wait for a character to send a message.
Use Reply on that specific character's message.
Send a response.
Observe which character responds.
Expected behavior

The Reply action should identify the character whose message was selected and include that information in the generation context.

For example:

User is replying to: Alice

Alice: Hey, what are you doing?

User: I'm just relaxing.

The system should understand that the user's response is addressed to Alice, and Alice should be the intended recipient/respondent unless the conversation logic explicitly determines otherwise.

Actual behavior

The replied-to character is not properly identified as the target.

Another character can respond as if the user's message was addressed to them, even though the user explicitly used Reply on a different character's message.

Expected implementation

The Reply action should preserve the target message/character and pass it to the generation context.

Ideally the prompt/context should contain an explicit indication such as:

[Replying to: Alice]

or otherwise provide the model with the replied-to message and its author.

The important part is that Reply must carry the identity of the character being replied to, not only the text of the user's new message.

Environment
Marinara Engine: staging
Mode: multi-character chat / group conversation
Action: Reply
Platform: Web

Originally created by @scavru on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6862 Originally assigned to: @SpicyMarinara on GitHub. When using Reply on a character's message, the response should be directed to the character whose message was replied to. Currently, using Reply does not appear to preserve the target character. Instead, another character may respond as if the user's message was addressed to them. Steps to reproduce Open a chat with multiple characters. Wait for a character to send a message. Use Reply on that specific character's message. Send a response. Observe which character responds. Expected behavior The Reply action should identify the character whose message was selected and include that information in the generation context. For example: User is replying to: Alice Alice: Hey, what are you doing? User: I'm just relaxing. The system should understand that the user's response is addressed to Alice, and Alice should be the intended recipient/respondent unless the conversation logic explicitly determines otherwise. Actual behavior The replied-to character is not properly identified as the target. Another character can respond as if the user's message was addressed to them, even though the user explicitly used Reply on a different character's message. Expected implementation The Reply action should preserve the target message/character and pass it to the generation context. Ideally the prompt/context should contain an explicit indication such as: [Replying to: Alice] or otherwise provide the model with the replied-to message and its author. The important part is that Reply must carry the identity of the character being replied to, not only the text of the user's new message. Environment Marinara Engine: staging Mode: multi-character chat / group conversation Action: Reply Platform: Web
bsakaguchi 2026-10-21 06:08:07 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@scavru commented on GitHub (Sep 29, 2026):

Additional information / reproduction case:

Even if I explicitly tag the character in my reply, the problem still occurs.

For example, in a group chat:

  1. Character A sends a message.
  2. I use Reply on Character A's message.
  3. In my response, I explicitly tag @Character A.
  4. I send the message.
  5. Character B can still respond instead of Character A.

So even an explicit character mention/tag in the user's message does not override the incorrect target selection.

This suggests that the problem is not only that the Reply action fails to visually/semantically mark the replied-to character. The target character may not be passed to, or respected by, the group response-selection logic.

Expected behavior:

If I use Reply on Character A's message and explicitly mention/tag Character A, Character A should be treated as the intended target/respondent.

At minimum, the generation context should preserve both:

  • the message being replied to;
  • the author/character of that message.

The explicit tag should also be respected by the group-chat response selection logic.

<!-- gh-comment-id:5896120800 --> @scavru commented on GitHub (Sep 29, 2026): Additional information / reproduction case: Even if I explicitly tag the character in my reply, the problem still occurs. For example, in a group chat: 1. Character A sends a message. 2. I use **Reply** on Character A's message. 3. In my response, I explicitly tag `@Character A`. 4. I send the message. 5. **Character B** can still respond instead of Character A. So even an explicit character mention/tag in the user's message does not override the incorrect target selection. This suggests that the problem is not only that the Reply action fails to visually/semantically mark the replied-to character. The target character may not be passed to, or respected by, the group response-selection logic. Expected behavior: If I use **Reply** on Character A's message and explicitly mention/tag Character A, Character A should be treated as the intended target/respondent. At minimum, the generation context should preserve both: * the message being replied to; * the author/character of that message. The explicit tag should also be respected by the group-chat response selection logic.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 30, 2026):

Cannot replicate. Also asked my testers to check.

With 2 characters in Smart Reply Individual mode, replying to a specific message always made the intended recipient the one to respond. The other guy could also talk as part of that response, but the intended replier always went first, and it felt natural when the other character piped in.
I also tried @ing the intended recipient in a reply; no change. Tried regens after failed chats; no change.

If I reply to Char A and explicitly @character B, then Character B responded first instead of Char A, but that feels intentional. Release: v2.4.6Build: c4a695e.
Image
<!-- gh-comment-id:5908637019 --> @SpicyMarinara commented on GitHub (Sep 30, 2026): Cannot replicate. Also asked my testers to check. ``` With 2 characters in Smart Reply Individual mode, replying to a specific message always made the intended recipient the one to respond. The other guy could also talk as part of that response, but the intended replier always went first, and it felt natural when the other character piped in. I also tried @ing the intended recipient in a reply; no change. Tried regens after failed chats; no change. If I reply to Char A and explicitly @character B, then Character B responded first instead of Char A, but that feels intentional. Release: v2.4.6Build: c4a695e. ``` <img width="960" height="162" alt="Image" src="https://github.com/user-attachments/assets/56087c06-5777-49b5-a6cb-608afc990377" />
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#3846
No description provided.