mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3220] Group chats: character reactions are always credited to the first character #1731
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1731
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Jul 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3220
Originally assigned to: @SpicyMarinara, @kolacheee on GitHub.
What happens
In a group conversation chat with Commands enabled, when characters use the
[react: …]emoji-reaction command (#3210 / #3211), the reaction chip is always credited to the first character in the chat — hover the chip and the tooltip says "reacted by " every time, no matter which character was reacting in the story.Try it yourself
Why it happens
Merged group replies put all characters' turns in one response, split by
Name:line prefixes, and each[react:]tag is attributed to the character whose section it sits in. But models consistently emit the react tag as the first line of the whole reply, above any character's section (confirmed by inspectingextra.conversationCommandContentof real replies — three out of three looked like this):Text above the first
Name:prefix falls back to the generation's primary character — the first one — inparseCharacterCommandsBySpeaker(packages/server/src/services/conversation/character-commands.ts). So a top-of-reply tag always credits character #1, deterministically.Suggested fix direction
Two halves: tell models (in group chats) to write the tag inside the reacting character's own section so attribution is intentional, and make the fallback for tags above the first section attribute to the first section's speaker (the turn the tag visually opens) instead of always the primary character.
Found while playtesting #3211; raw reply excerpts above are from the live data of that session.