mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7582] [Feature]: Lorebook entries as user message presets (CYOA-like) #4207
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#4207
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 @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|Afteroptions, to lorebook entriesWhen 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:
@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.