mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #473] [Feature]: Game Mode: skip unnecessary agent calls when sending a message to the GM #211
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#211
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 @cha1latte on GitHub (May 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/473
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
In Game Mode, sending a message directly to the GM still appears to run the full “preparing the scene” / agent pipeline. For out-of-character discussion or GM-directed messages, many scene-preparation agents may not be necessary, which can make the interaction slower and more expensive than it needs to be.
Proposed solution
Add a way for Game Mode to skip unnecessary agent calls when the user is sending a message to the GM rather than advancing the scene.
Possible approaches:
Alternatives considered
Some agent frequency can already be adjusted in settings, but that does not fully solve the case where a GM-directed message should use a lighter pipeline than a normal in-scene message.
Users can manually reduce agent frequency, but doing so affects broader gameplay behavior rather than only out-of-character GM messages.
Additional context
Requested by Alatheus on Discord, with additional discussion from drakonbane.
The main goal is efficiency: reduce unnecessary waiting and model usage when a message is meant for GM discussion rather than scene progression.
Template check
@cha1latte commented on GitHub (May 6, 2026):
Triage note: labeling this as
scope-riskbecause skipping agent calls for GM-directed messages touches the Game Mode agent pipeline and the issue lists several different control strategies.Least risky next step is to decide whether the first slice is automatic message classification or an explicit user control before changing agent execution behavior.
@Alatheus1 commented on GitHub (May 7, 2026):
As the original suggestor:
I'd recommend explicit user control. Make it skip only when using the 'talk to GM' feature selected by the dialog bubble icon next to the chat. any OOC chat that is done without using this would trigger agents as normal
@SpicyMarinara commented on GitHub (May 10, 2026):
I will turn off Scene Analysis for special calls for Talk to GM/Talk to Party calls in game mode.
@SpicyMarinara commented on GitHub (May 10, 2026):
Implemented. Talk to GM and Talk to Party turns now skip the async scene/weather analysis path after the GM response, so direct-address replies no longer run the full scene-prep pipeline or get stuck behind it.\n\nValidation:\n- pnpm --filter @marinara-engine/client lint