[GH-ISSUE #7582] [Feature]: Lorebook entries as user message presets (CYOA-like) #4207

Closed
opened 2026-10-21 06:12:26 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @usagirei on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7582

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Sometimes users may find themselves sending the same message often, or one similar enough, for a variety of reasons

The {{include}} macro right now can be used to replicate a similar effect, but requires the user to remember the entry name

Similarly, the user may want to include some contextual information to be sent to the model, but not often enough to warrant a change in author's notes, or for it to be included at all times when a trigger word is in context

Proposed solution

A similar feature to the CYOA agent, but with user defined values.
A means to configure some preset messages that can be picked from a list to be sent

Add a new "Message Preset" setting, a dropdown with Off|Before|After options, to lorebook entries

When not Off, these entries activate normally: from decisions, keywords, constantly,
but their contents are not included in the lorebook context sent to the model.

Instead, they show up as options above the user message on the users turn while they are active, using the lorebook entry title as the option.
(e.g. An entry that would show up in the active context window now, without this feature, would provide the options when enabled)

Clicking on one option marks it, clicking again unmarks it.
Allow for multiple selections, sorting them by whichever order the user clicked them, or by lorebook entry order.
The entry contents from marked options are then sent as part of the user message, as per setting:
Contents are resolved (run macros) and pasted before or after the value of user message box (when present),

Alternatives considered

Additional context

The active context window showing the active entries should receive a Badge indicating an entry is an option, and maybe not display its contents there

Enabled entries might need to be scanned for activation after the assistant response, to show up as responses to it, instead of before to serve as context for it

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 @usagirei on GitHub (Oct 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7582 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? <!-- Describe the pain point or gap this feature would address --> Sometimes users may find themselves sending the same message often, or one similar enough, for a variety of reasons The {{include}} macro right now can be used to replicate a similar effect, but requires the user to remember the entry name Similarly, the user may want to include some contextual information to be sent to the model, but not often enough to warrant a change in author's notes, or for it to be included at all times when a trigger word is in context ## Proposed solution <!-- What would you like to see added or changed? --> A similar feature to the CYOA agent, but with user defined values. A means to configure some preset messages that can be picked from a list to be sent Add a new "Message Preset" setting, a dropdown with `Off|Before|After` options, to lorebook entries When not `Off`, these entries activate normally: from decisions, keywords, constantly, but their *contents* are **not** included in the lorebook context sent to the model. Instead, they show up as options above the user message on the users turn while they are active, using the lorebook entry title as the option. (e.g. An entry that would show up in the active context window now, without this feature, would provide the options when enabled) Clicking on one option marks it, clicking again unmarks it. Allow for multiple selections, sorting them by whichever order the user clicked them, or by lorebook entry order. The entry contents from marked options are then sent as part of the user message, as per setting: Contents are resolved (run macros) and pasted before or after the value of user message box (when present), ## Alternatives considered <!-- Any other approaches you thought about? --> ## Additional context The active context window showing the active entries should receive a Badge indicating an entry is an option, and maybe not display its contents there Enabled entries might need to be scanned for activation *after* the assistant response, to show up as responses to it, instead of before to serve as context for it <!-- Optional: mockups, related issues, references, or examples --> ## 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:12:26 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 14, 2026):

You can use user or author's notes to save the message and copy-paste it whenever necessary.

<!-- gh-comment-id:6163921524 --> @SpicyMarinara commented on GitHub (Oct 14, 2026): You can use user or author's notes to save the message and copy-paste it whenever necessary.
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#4207
No description provided.