mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #535] [Feature]: Add SillyTavern-style Final Character Reminder #245
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#245
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 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/535
What problem does this solve?
Marinara Engine has character advanced settings such as Depth Prompt, Post-Instruction, and System Prompt, but they do not match the practical behavior of SillyTavern's Character's Note.
In SillyTavern, a Character's Note with role
userand depth0behaves like a very late in-chat injection near the model's next response. Because of that final placement, the model treats it as a current instruction.In Marinara, Character Depth Prompt can also be configured as role
userand depth0, but it is inserted during normal prompt assembly. After that, other prompt/context pieces can still be added, including author notes, memories, reminders, agent context, retrieval context, and role formatting/merging. As a result,depth=0at insertion time may not remain the final or highest-priority instruction by the time the request is sent.This makes some formatting or behavioral reminders less reliable in Marinara than in SillyTavern. For example, a formatting-style system note that works reliably in SillyTavern's Character's Note can be ignored in Marinara when placed in Post-Instruction or Depth Prompt.
Proposed solution
Add a character-level Final Character Reminder / Character's Note setting that is injected very late in prompt assembly, after normal character fields, depth prompts, author notes, memories, agent context, and other regular context assembly.
Desired behavior:
user,system, orassistant.depth=0should mean final prompt tail, or as close as possible to generation, rather than only depth 0 at an earlier assembly stage.The goal is to match the practical behavior of SillyTavern's Character's Note for late character-specific reminders.
Alternatives considered
Existing Marinara options were tried, including Character Depth Prompt, Post-Instruction, and System Prompt. These do not provide the same final-prompt placement because they can be followed by later prompt/context assembly.
Additional context
Discord report: https://discord.com/channels/1417099416812392641/1502040372518326375
Reported by Адель [MEOW].
Original comparison from the report:
user, depth0acts like a very late in-chat injection close to the model's next response.user, depth0is inserted during normal prompt assembly and may be followed by author notes, memories, reminders, agent context, retrieval context, and role formatting/merging.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 7, 2026):
Triage note: labeling this as
scope-riskbecause the request is strongly aligned with character prompt behavior, but it touches late prompt assembly order and character-level settings where placement semantics need a clear first slice before implementation.Define the smallest shippable version around one late-injected per-character reminder that appears in Peek Prompt before expanding role/depth behavior further.
@cha1latte commented on GitHub (May 7, 2026):
Additional implementation reference from the original requester:
They built a working browser-side extension prototype that approximates the requested behavior without core changes. The extension:
Character's Noterow to Chat Settings.chat.metadata.characterNotes.POST /api/generateand appends enabled notes togenerationGuide.forCharacterIdwhen generation is for a specific character.This is useful as a reference for a first core implementation slice. It suggests the smallest shippable version could be:
generationGuidepath, or an equivalent late prompt hook.The prototype also makes the current limitation clear: as a browser extension, it only works where installed and enabled, so core support would still be useful for portability and consistency.
@SpicyMarinara commented on GitHub (May 10, 2026):
Can be achieved in preset by adding a prompt, an unnecessary addition.