mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7794] [Issue]: manual Character Tracker portraits skip 'Expose media prompts before sending' #4302
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#4302
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 @ylli-selmani on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7794
Originally assigned to: @ylli-selmani on GitHub.
Summary
With Settings → Generations → Image Generation → "Expose media prompts before sending" enabled, generating a Character Tracker NPC portrait sends the compiled prompt straight to the provider. Every other manual action the setting promises (avatars, selfies, sprites, Game images, videos) shows the review dialog first; "portraits" is in the tooltip, so this is the one manual path inside the promise that skips it.
Expected behavior
With the toggle on, clicking Generate portrait in the Character Tracker shows the compiled prompt (editable, positive and negative) before anything is sent. Confirming generates with the edited prompt; cancelling sends nothing and leaves the existing portrait alone.
Automatic generations are not in scope: the tooltip says "Automatic generations don't stop to ask", so the after-turn NPC avatar and auto-generated portraits keep generating immediately.
Actual behavior
POST /api/avatars/npc/:chatId/generatebuilds the prompt and callsgenerateTrackerPortrait, which compiles and generates in one step. There is no preview mode and no prompt override, so the dialog can never appear.Steps to reproduce
Environment
staging@df2fe4fe0Notes
The fix reuses the existing pattern (preview request → review dialog → re-post with the edited prompt) rather than adding a new mechanism, so it matches the selfie, sprite and avatar routes.
@ylli-selmani commented on GitHub (Oct 18, 2026):
i totally missed the helptext
@ylli-selmani commented on GitHub (Oct 18, 2026):
Scope correction: my first version of this issue treated automatic generations as a bug. They aren't.
The setting's own help text says "Shows you the final prompt before an image or video you asked for is made … Automatic generations don't stop to ask", and the closed reports (#3543, #5379) consistently describe the guarantee as covering manual actions only. So the in-turn Illustrator, the
[illustrate: …]command, automatic backgrounds, combat assets and auto storyboard frames are exempt by design, not broken — I've narrowed the issue to the manual Character Tracker portrait, which the tooltip explicitly promises ("portraits") and which does skip the dialog.Work in progress on
fix/media-prompt-review-coverage:POST /api/avatars/npc/:chatId/generategains apreviewOnlymode that compiles the prompt and returns it without contacting the provider, and accepts the edited prompt back — the same two-phase flow the selfie, sprite and avatar routes already use.