mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7006] [Feature]: Let a preset prompt block skip the XML/Markdown wrapper #3923
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#3923
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 @JurijPietrowicz on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7006
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
A preset's Wrap Format applies to every section. With XML or MARKDOWN selected, each prompt block is sent inside a tag or under a heading named after the block, and there is no way to exempt a single block.
Some blocks work better unwrapped, for example a block that should read as plain instructions, or one that already contains its own markup. Today the only way to send one block bare is to switch the whole preset to NONE and then hand-write the tags for every other block.
Proposed solution
Add a Send without wrapper switch to each Prompt Block in the Preset Editor's Sections tab. When it is on, that block is sent exactly as written, while the rest of the preset keeps its wrap format.
I have a working implementation with a prompt-assembly regression test on my fork: https://github.com/JurijPietrowicz/Marinara-Engine/tree/feat/section-wrap-override
Alternatives considered
wrapInXml/xmlTagNamefields: they still exist in the section schema but have been unused since wrapping moved to the preset level. Their stored default is"false", which would mean "unwrapped" for every existing section, so a new field that defaults to off is safer.Additional context
The English guide
docs/prompts/presets.mdgets a short paragraph under "Wrap formats". Translations will be tracked in a[docs-i18n]follow-up issue.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 3, 2026):
Thank you!