[GH-ISSUE #7318] [Issue]: Image prompt instruction fields are appended verbatim instead of processed by LLM #4077

Closed
opened 2026-10-21 06:10:08 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7318

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Image prompt fields intended to be sent to an LLM as prompt-building instructions are added verbatim to the final prompt sent to ComfyUI. This produces a mixed prompt containing quality tags, LLM output, and raw image-generation instructions from text fields or card information.

Expected behavior

Prompt instruction fields, dropdowns, and toggles should be processed and connected as intended when building the final image prompt. Fields intended as LLM instructions should not appear verbatim in the generated prompt unless configured to do so.

Actual behavior

Instruction-like fields are appended directly to the final prompt verbatim, creating a mishmash such as " ". This is especially noticeable when attempting to generate output consisting only of Danbooru-style tags.

Steps to reproduce

  1. Configure an image-generation prompt using fields intended to provide LLM instructions, along with text fields, dropdowns, toggles, or card information.
  2. Generate an image prompt and inspect the prompt sent to ComfyUI.
  3. Observe that plain-text instruction fields and/or card information are included verbatim alongside the LLM output and prompt quality tags.

Environment

  • Marinara Engine version: Marinara Staging
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, or video provided.

Additional context

Reported after investigation over approximately one week. Affected agent versions: Illustrator v1.0.4 and Noodle v1.5.1. Reporter states that fields, dropdowns, and toggles appear to exist but may be connected incorrectly or unused.

Discord thread: Image generation prompt building
Discord thread link: https://discord.com/channels/1417099416812392641/1557799129550168208
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-10-08T16:57:34.993Z] Rimmorn: Over the last week or so I've been hunting what screws around with image prompts that get sent to my comfyui and I think I finally managed to narrow it down.
Fields that are supposed to be sent to an llm as instruction for the prompt (or that's how they look) are just added to the final prompt verbatim so you end up with a mishmash of <prompt quality positive> <llm output> <plain text image generation instructions from various text boxes and/or other card info>

Especially visible if you try to get pure danbooru tags-ish output.

On the surface everything you'd need like text fields, dropdowns and toggles are there just either connected wrong or not used at all.

Marinara Staging
Illustrator v1.0.4
Noodle v1.5.1
[Discord message: https://discord.com/channels/1417099416812392641/1557799129550168208/1557799129550168208]

[2026-10-08T16:57:35.544Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1557799129550168208/1557799131861229664]

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 @SpicyMarinara on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7318 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Image prompt fields intended to be sent to an LLM as prompt-building instructions are added verbatim to the final prompt sent to ComfyUI. This produces a mixed prompt containing quality tags, LLM output, and raw image-generation instructions from text fields or card information. ## Expected behavior Prompt instruction fields, dropdowns, and toggles should be processed and connected as intended when building the final image prompt. Fields intended as LLM instructions should not appear verbatim in the generated prompt unless configured to do so. ## Actual behavior Instruction-like fields are appended directly to the final prompt verbatim, creating a mishmash such as "<prompt quality positive> <llm output> <plain text image generation instructions>". This is especially noticeable when attempting to generate output consisting only of Danbooru-style tags. ## Steps to reproduce 1. Configure an image-generation prompt using fields intended to provide LLM instructions, along with text fields, dropdowns, toggles, or card information. 2. Generate an image prompt and inspect the prompt sent to ComfyUI. 3. Observe that plain-text instruction fields and/or card information are included verbatim alongside the LLM output and prompt quality tags. ## Environment - Marinara Engine version: Marinara Staging - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, or video provided. ## Additional context Reported after investigation over approximately one week. Affected agent versions: Illustrator v1.0.4 and Noodle v1.5.1. Reporter states that fields, dropdowns, and toggles appear to exist but may be connected incorrectly or unused. Discord thread: Image generation prompt building Discord thread link: https://discord.com/channels/1417099416812392641/1557799129550168208 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-10-08T16:57:34.993Z] Rimmorn: Over the last week or so I've been hunting what screws around with image prompts that get sent to my comfyui and I think I finally managed to narrow it down. Fields that are supposed to be sent to an llm as instruction for the prompt (or that's how they look) are just added to the final prompt verbatim so you end up with a mishmash of <prompt quality positive> <llm output> <plain text image generation instructions from various text boxes and/or other card info> Especially visible if you try to get pure danbooru tags-ish output. On the surface everything you'd need like text fields, dropdowns and toggles are there just either connected wrong or not used at all. Marinara Staging Illustrator v1.0.4 Noodle v1.5.1 [Discord message: https://discord.com/channels/1417099416812392641/1557799129550168208/1557799129550168208] [2026-10-08T16:57:35.544Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1557799129550168208/1557799131861229664] ``` </details> ## 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:10:08 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Fixed on staging by #7342.

<!-- gh-comment-id:6078871190 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Fixed on staging by #7342.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Reopening: #7342 fixed the Engine side on staging (instruction fields and profile Style text no longer go into the final image prompt verbatim). Noodle 1.5.1 still adds the card's Personality, image habits and "User image instructions: …" to ComfyUI prompts itself, so that part needs a Noodle fix in Pasta-Devs/Marinara-Agents. I'll link it here when it's up.

<!-- gh-comment-id:6078948225 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Reopening: #7342 fixed the Engine side on staging (instruction fields and profile Style text no longer go into the final image prompt verbatim). Noodle 1.5.1 still adds the card's Personality, image habits and "User image instructions: …" to ComfyUI prompts itself, so that part needs a Noodle fix in Pasta-Devs/Marinara-Agents. I'll link it here when it's up.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Fixed on staging by #7352.

<!-- gh-comment-id:6079856884 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Fixed on staging by #7352.
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#4077
No description provided.