[GH-ISSUE #6872] [Issue]: Expression Engine limits to one character in Merged Group mode (RP) #3853

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The Expression Engine Agent can only provide the first character's result, if the Roleplay chat is a group chat and is set to Merged (Narrator) mode.

Expected behavior

If multiple characters are set up (and enabled/visible) in the Expression Engine, they should all be handled by the agent.

Actual behavior

Only the first character is judged by the tracker, the others are always stuck on the fallback/neutral expression.

Steps to reproduce

  1. Make a group chat with "Merged" mode.
  2. Set up the expression engine agent.
  3. Send a message

Environment

  • Marinara Engine version: 2.4.6 (staging)
  • Install type: source
  • OS + version: windows 11
  • Browser or app shell: Firefox

Logs, screenshots, or video

Additional context

Potential fix/workaround: in file packages\server\src\routes\generate.routes.ts, line 10979: github.com/Pasta-Devs/Marinara-Engine@79638106c4/packages/server/src/routes/generate.routes.ts (L10979)
add a check for if (groupChatMode != "merged") before filtering agentContext.memory._availableSprites

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 @szokolai-mate on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6872 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The Expression Engine Agent can only provide the first character's result, if the Roleplay chat is a group chat and is set to Merged (Narrator) mode. ## Expected behavior If multiple characters are set up (and enabled/visible) in the Expression Engine, they should all be handled by the agent. ## Actual behavior Only the first character is judged by the tracker, the others are always stuck on the fallback/neutral expression. ## Steps to reproduce 1. Make a group chat with "Merged" mode. 2. Set up the expression engine agent. 3. Send a message ## Environment - Marinara Engine version: 2.4.6 (staging) - Install type: source - OS + version: windows 11 - Browser or app shell: Firefox ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> ## Additional context Potential fix/workaround: in file `packages\server\src\routes\generate.routes.ts`, line 10979: https://github.com/Pasta-Devs/Marinara-Engine/blob/79638106c4bc767a89c5d35b735041b1ac14dd4d/packages/server/src/routes/generate.routes.ts#L10979 add a check for `if (groupChatMode != "merged")` before filtering `agentContext.memory._availableSprites` ## 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 06:08:11 +07:00
Author
Owner

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

Codex is taking this issue for @SpicyMarinara in draft PR #6885. I checked for existing linked/open/draft PRs and issue ownership before starting; the fix will target staging.

<!-- gh-comment-id:5908837975 --> @SpicyMarinara commented on GitHub (Sep 30, 2026): Codex is taking this issue for @SpicyMarinara in draft PR #6885. I checked for existing linked/open/draft PRs and issue ownership before starting; the fix will target staging.
Author
Owner

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

Addressed in #6885, now merged into staging.

<!-- gh-comment-id:5909924104 --> @SpicyMarinara commented on GitHub (Sep 30, 2026): Addressed in #6885, now merged into staging.
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#3853
No description provided.