[GH-ISSUE #4552] [Issue]: Individual group chat macros resolve to first roster character #2482

Closed
opened 2026-10-21 05:48:38 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Individual group chat mode, character-specific macros resolve using the first character in the roster instead of the character currently generating a reply.

Expected behavior

The {{convo_behavior}}, {{char_about}}, and {{convo_display}} macros should resolve for the character generating the current reply.

Actual behavior

The macros resolve for the first character in the roster. If that character has a macro-strategy behavior, every character receives that directive; otherwise, {{convo_behavior}} is empty and {{#if convo_behavior !=""}} always takes the else branch.

Steps to reproduce

  1. Create a group chat with two or more characters.
  2. Set the group chat mode to Individual.
  3. Add {{convo_behavior}}, {{char_about}}, and/or {{convo_display}} to the preset.
  4. Generate replies from characters other than the first character in the roster.
  5. Observe that the macros use the first roster character's values.

Environment

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

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

The conditional macro itself appears to work correctly; it is receiving the wrong character-specific value.

Discord thread: [Bug] in Individual group chats, Some macros use the first character, not the one replying
Discord thread link: https://discord.com/channels/1417099416812392641/1534012591938998413
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-08-04T01:38:22.494Z] Kat: Version: 2.4.0

Group chat mode set to **Individual**. On every one of those requests, `{{convo_behavior}}`, `{{char_about}}` and `{{convo_display}}` resolve to whoever is first in the roster instead of the character actually generating.

If that first character has a macro-strategy behavior, every character in the chat gets *their* directive. If they don't, the macro is empty and `{{#if convo_behavior !=""}}` takes the else branch forever. The `{{#if}}` itself is fine; it's being handed the wrong value.

Repro: two+ characters, Individual mode,use a `{{convo_behavior}}`, `{{char_about}}` and/or`{{convo_display}}` macro in the preset.
[Discord message: https://discord.com/channels/1417099416812392641/1534012591938998413/1534012591938998413]

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 (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4552 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Individual group chat mode, character-specific macros resolve using the first character in the roster instead of the character currently generating a reply. ## Expected behavior The {{convo_behavior}}, {{char_about}}, and {{convo_display}} macros should resolve for the character generating the current reply. ## Actual behavior The macros resolve for the first character in the roster. If that character has a macro-strategy behavior, every character receives that directive; otherwise, {{convo_behavior}} is empty and {{#if convo_behavior !=""}} always takes the else branch. ## Steps to reproduce 1. Create a group chat with two or more characters. 2. Set the group chat mode to Individual. 3. Add {{convo_behavior}}, {{char_about}}, and/or {{convo_display}} to the preset. 4. Generate replies from characters other than the first character in the roster. 5. Observe that the macros use the first roster character's values. ## Environment - Marinara Engine version: 2.4.0 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context The conditional macro itself appears to work correctly; it is receiving the wrong character-specific value. Discord thread: [Bug] in Individual group chats, Some macros use the first character, not the one replying Discord thread link: https://discord.com/channels/1417099416812392641/1534012591938998413 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-08-04T01:38:22.494Z] Kat: Version: 2.4.0 Group chat mode set to **Individual**. On every one of those requests, `{{convo_behavior}}`, `{{char_about}}` and `{{convo_display}}` resolve to whoever is first in the roster instead of the character actually generating. If that first character has a macro-strategy behavior, every character in the chat gets *their* directive. If they don't, the macro is empty and `{{#if convo_behavior !=""}}` takes the else branch forever. The `{{#if}}` itself is fine; it's being handed the wrong value. Repro: two+ characters, Individual mode,use a `{{convo_behavior}}`, `{{char_about}}` and/or`{{convo_display}}` macro in the preset. [Discord message: https://discord.com/channels/1417099416812392641/1534012591938998413/1534012591938998413] ``` </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:48:38 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Implementation has started in draft PR #4553. Owner: @SpicyMarinara.

<!-- gh-comment-id:5175454768 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Implementation has started in draft PR #4553. Owner: @SpicyMarinara.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 4, 2026):

Delivered to staging via #4553 (merge commit 7708b7f0b2).

<!-- gh-comment-id:5175920541 --> @SpicyMarinara commented on GitHub (Aug 4, 2026): Delivered to staging via #4553 (merge commit 7708b7f0b2581b90ae4fdc9e2eba787796005fab).
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#2482
No description provided.