[GH-ISSUE #7258] [Issue]: Image Appearance Override replaces the card Appearance in Conversation selfie prompts, so LoRA triggers get dropped #4048

Closed
opened 2026-10-21 06:09:50 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ylli-selmani on GitHub (Oct 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7258

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Conversation chats, an enabled Image Appearance Override replaces the character's Appearance in the selfie prompt writer's instructions instead of sitting next to it. The writer then gets only the override. When the override is a ComfyUI LoRA trigger, that's a single token with no visual meaning, so the writer drops it and invents the character's look. The help text for the override hides this cost.

Reported on Discord by a ComfyUI user. #7243 was opened automatically from that thread but only captured a follow-up message, so this is the full report.

Expected behavior

  • The override tags (e.g. a LoRA trigger) reach the generated image prompt exactly as written.
  • The prompt writer still knows what the character looks like (build, clothing, and so on) from the card's Appearance.
  • The help text explains what the override does to the prompt.

Actual behavior

  • appearance in the conversation.selfie prompt holds the override instead of the card text (conversation-selfie-command-runtime.ts, gallery.routes.ts getCharacterAppearance).
  • Given only savvyphoto (a LoRA trigger), the writer drops the token and makes up a look. A filler word added next to the trigger disappears too.
  • Roleplay mode doesn't have this problem: it keeps the override to the illustrator block on purpose, so the narrator keeps the full Appearance (agent-executor.ts:3190-3193).
  • The help text says "Used instead of Appearance in image prompts" without saying the prompt writer loses the card description.

Ruled out by running the real code: the prompt compiler (image-prompt-compiler.ts, kind: "selfie", all profiles) and the ComfyUI transport both keep the trigger byte-for-byte. The token is lost before either of them runs.

Steps to reproduce

  1. Conversation chat, ComfyUI (or any) image connection, a character with Appearance filled in.
  2. Enable Image Appearance Override and set it to a LoRA trigger, e.g. savvyphoto.
  3. Run /selfie, use the gallery selfie button, or ask the character for a selfie.
  4. Turn on debug/agent logging and inspect the prompt writer's system prompt: the card Appearance is gone. The generated prompt usually lacks the trigger.

Environment

  • Marinara Engine version: 2.5.0 (staging)
  • Install type: source (reproduced); the reporter uses ComfyUI
  • OS + version: Windows 11
  • Browser or app shell: Chromium

Logs, screenshots, or video

Prompt-builder system prompt before the fix (override active):

The character's appearance: savvyphoto
Character name: …

Additional context

Follows up the Image Appearance Override feature (#7053 / PR #7059). Fix in progress: #7256.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @ylli-selmani on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7258 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Conversation chats, an enabled **Image Appearance Override** *replaces* the character's Appearance in the selfie prompt writer's instructions instead of sitting next to it. The writer then gets only the override. When the override is a ComfyUI LoRA trigger, that's a single token with no visual meaning, so the writer drops it and invents the character's look. The help text for the override hides this cost. Reported on Discord by a ComfyUI user. #7243 was opened automatically from that thread but only captured a follow-up message, so this is the full report. ## Expected behavior - The override tags (e.g. a LoRA trigger) reach the generated image prompt exactly as written. - The prompt writer still knows what the character looks like (build, clothing, and so on) from the card's Appearance. - The help text explains what the override does to the prompt. ## Actual behavior - `appearance` in the `conversation.selfie` prompt holds the override *instead of* the card text (`conversation-selfie-command-runtime.ts`, `gallery.routes.ts` `getCharacterAppearance`). - Given only `savvyphoto` (a LoRA trigger), the writer drops the token and makes up a look. A filler word added next to the trigger disappears too. - Roleplay mode doesn't have this problem: it keeps the override to the illustrator block on purpose, so the narrator keeps the full Appearance (`agent-executor.ts:3190-3193`). - The help text says "Used instead of Appearance in image prompts" without saying the prompt writer loses the card description. Ruled out by running the real code: the prompt compiler (`image-prompt-compiler.ts`, `kind: "selfie"`, all profiles) and the ComfyUI transport both keep the trigger byte-for-byte. The token is lost before either of them runs. ## Steps to reproduce 1. Conversation chat, ComfyUI (or any) image connection, a character with Appearance filled in. 2. Enable **Image Appearance Override** and set it to a LoRA trigger, e.g. `savvyphoto`. 3. Run `/selfie`, use the gallery selfie button, or ask the character for a selfie. 4. Turn on debug/agent logging and inspect the prompt writer's system prompt: the card Appearance is gone. The generated prompt usually lacks the trigger. ## Environment - Marinara Engine version: 2.5.0 (`staging`) - Install type: source (reproduced); the reporter uses ComfyUI - OS + version: Windows 11 - Browser or app shell: Chromium ## Logs, screenshots, or video Prompt-builder system prompt before the fix (override active): ``` The character's appearance: savvyphoto Character name: … ``` ## Additional context Follows up the Image Appearance Override feature (#7053 / PR #7059). Fix in progress: #7256. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:09:50 +07:00
Author
Owner

@ylli-selmani commented on GitHub (Oct 7, 2026):

@bobneumann77-hub is working on this in #7256.

<!-- gh-comment-id:6041346766 --> @ylli-selmani commented on GitHub (Oct 7, 2026): @bobneumann77-hub is working on this in #7256.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4048
No description provided.