mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #462] [Feature]: Guided Generations, not just Guided Regenerations #206
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#206
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 @DarkPulse on GitHub (May 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/462
What problem does this solve?
Guided Generations is one of my (and I'd presume a lot of other people's) favorite SillyTavern extensions. The ability to just retune a response or create a new one swiftly was a real godsend for various RPs.
We currently have guided regenerations thanks to the Pasta Devs' hard work, but we are still missing straight-up guided generation. We have something close via
/narrator, but that's both a little bit clunky and also chews up potentially precious context window since those messages "count."Accordingly, I'm proposing that we go whole-hog here. Allow for guided generations (at least for Chat/RP modes. It'd probably be kinda silly in Game, I admit). Unless I'm missing some sort of case where it'd be highly useful, it could also lead to removing the
/narratorcommand as well, since as far as I can tell, it'd officially be redundant/obsolete with this change implemented.Proposed solution
I propose we add a new control - either a new icon we can click, or some kind of way to mark that the messagebox being typed in is not a direct reply from the user, but should instead be used to guide the output from the model.
This is useful in cases where, for example, the user deletes the model's last response, leaving their own as the most recent message. With guided generation, they can just line up the model immediately with however they guide it.
Alternatives considered
In a way, this can already be done, but it's clunkier: You have to allow the model to begin generating a response (at least to the point where it's visible on screen), stop the generation, then use the box to regenerate the reply. This "works" but it takes extra time. This might not be all that feelable on API services in terms of time, but it will catch up there in terms of token costs, and on local hardware this can definitely be felt if the user has much weaker processing power for the LLM (weaker GPU or whatever), since forcing the model to begin to reply means needing to batch up all the context window tokens once again for processing before the model begins to even type a reply - and that's not even counting if the model thinks before it begins to output its message.
A formal guided generation button/method would save tokens for the API end, and save time for the local end. That makes it a win-win, in my book.
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 6, 2026):
Triage note: labeling this as
scope-riskbecause guided generation is core to roleplay workflow, but the request changes message-box semantics and may overlap with or replace the existing/narratorpath.Least risky next step is to define the first guided-generation interaction model and decide how it coexists with
/narratorbefore implementation.@SpicyMarinara commented on GitHub (May 10, 2026):
Guided generation is
/narrator, it works precisely the same way as guided generation.