[GH-ISSUE #473] [Feature]: Game Mode: skip unnecessary agent calls when sending a message to the GM #211

Closed
opened 2026-10-20 17:26:20 +07:00 by bsakaguchi · 4 comments
Owner

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:

  • Automatically detect GM-directed / out-of-character messages and bypass scene-preparation agents that are not relevant.
  • Add per-agent settings for whether each agent should run on GM-directed messages.
  • Add manual controls for tracker/agent frequency so users can decide which agents run for different message types.
  • Preserve the full pipeline when the message is intended to advance the scene normally.

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

  • I DID NOT read this template and provide the requested details.
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: - Automatically detect GM-directed / out-of-character messages and bypass scene-preparation agents that are not relevant. - Add per-agent settings for whether each agent should run on GM-directed messages. - Add manual controls for tracker/agent frequency so users can decide which agents run for different message types. - Preserve the full pipeline when the message is intended to advance the scene normally. ## 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](https://discord.com/channels/1417099416812392641/1501559064209920041). 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 - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:26:20 +07:00
Author
Owner

@cha1latte commented on GitHub (May 6, 2026):

Triage note: labeling this as scope-risk because 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.

<!-- gh-comment-id:4392822200 --> @cha1latte commented on GitHub (May 6, 2026): Triage note: labeling this as `scope-risk` because 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.
Author
Owner

@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

<!-- gh-comment-id:4401667090 --> @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
Author
Owner

@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.

<!-- gh-comment-id:4414967009 --> @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.
Author
Owner

@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

<!-- gh-comment-id:4415161375 --> @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
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#211
No description provided.