mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8438] [Feature]: Macro that lists all chat characters, including inactive ones #8353
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#8353
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 @west61224 on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8438
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
In group chats with many characters, the AI sometimes mixes up details between characters. A good way to avoid that is to toggle off characters who aren't in the current scene or aren't relevant right now, so they stop being sent to the model.
The trouble is that {{characters}} (and {{group}}) only list active characters. As soon as a character is disabled, they're removed from those macros as well.
That breaks scenario overrides and other prompt text that use {{characters}} to describe who belongs to the setting. For example, take a scenario override like:
When some crew members are disabled, they disappear from that sentence. The active characters no longer know the disabled ones are part of the setting at all. They only find out if the disabled character already spoke earlier in the chat, or if you turn that character back on, which brings back the mix-ups that disabling was meant to prevent.
So right now you have to choose between:
keeping everyone active, so the roster in the prompt is complete, at the cost of the AI confusing details between characters, or
disabling characters who aren't in the scene, at the cost of the remaining characters forgetting those characters exist.
The docs also describe {{characters}} as "every character in the chat", which suggests disabled characters are included when they aren't.
Proposed solution
Add macros that resolve to the full chat roster, including characters who are toggled inactive/hidden:
A counterpart to {{characters}}: every character in the chat, including inactive ones, joined by commas.
Optionally a counterpart to {{group}}: every other character in the chat, including inactive ones, excluding the current responder.
{{characters}} and {{group}} would keep their current behavior, so existing presets don't change.
Alternatives considered
Hard-coding the full cast in the scenario override. This works, but you have to edit it by hand every time a character is added, removed, or renamed. It also defeats the purpose of having a macro.
Changing {{characters}} to include inactive characters. This would change the output of existing presets and remove the way to list only the active characters, so a separate macro seems safer.
Keeping all characters active. This brings back the detail mix-ups that disabling characters is meant to prevent.
Additional context
A character's inactive/hidden state is stored per chat, and {{characters}}/{{group}} are built from the active roster only. The full roster already exists in the chat, but no macro exposes it.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Oct 29, 2026):
Okay, so
{{group}}should list only active characters, while{{characters}}should list everyone added to the chat, regardless of whether they're active or not. I'll fix that.@SpicyMarinara commented on GitHub (Oct 29, 2026):
@SpicyMarinara (Codex) is taking ownership of this issue. I will implement the maintainer-approved semantics:
{{characters}}lists all chat character names, including inactive members;{{group}}remains active-only. Inactive character cards/descriptions will stay excluded from generation. Work branch:fix/full-roster-macro-8438.