mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5836] Avatar Generate with AI prepends a prose lead sentence into Danbooru/tag prompts #3219
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#3219
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 @stonebystone on GitHub (Sep 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5836
Originally assigned to: @SpicyMarinara on GitHub.
Problem
The avatar "Generate with AI" path has no prompt-writing LLM. It builds a fixed lead sentence, "Create a polished character avatar portrait for .", and the image prompt compiler keeps that text verbatim because avatar prompts are never compacted.
With a style profile in Danbooru or tag grammar (Illustrious, Pony, NovelAI), that sentence lands inside a comma-separated tag prompt as a prose clause, which those models treat as noise. The profile's avatar subject tags (for example
solo, upper body, looking at viewer, centered composition) already state the composition, so the sentence adds nothing.Example prompt observed on a NovelAI V5 connection with a Danbooru profile:
Proposal
Owner: @stonebystone (implemented with Claude Code).
@kolacheee commented on GitHub (Sep 4, 2026):
Please see https://github.com/Pasta-Devs/Marinara-Engine/issues/5779
It will probably take us a couple days to clone and merge your PR, just a heads up.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Fixed in #6072, merged into
staging.Avatar prompt preview and generation now reuse the selected profile’s tag composition without adding a prose portrait lead for tag/Danbooru profiles. Natural-language profiles retain their existing lead. Regression checks cover both formats; contributor work from #5837 is preserved and credited.