[GH-ISSUE #3178] [Issue]: Game Mode NPC portrait generation does not use NPC description #1704

Closed
opened 2026-10-21 05:41:51 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In Game Mode, NPC portrait image generation appears not to include the NPC's generated description in the image prompt. The user reproduced this on their existing setup and on a fresh VM with a fresh git pull.

Expected behavior

When generating a portrait for an NPC that has a generated description and matching name, the image generation prompt should include and use that NPC description.

Actual behavior

The image generation prompt appears to omit or not use the NPC description, resulting in a prompt that does not reflect the character appearance stored in session history.

Steps to reproduce

  1. Run Marinara Engine v2.0.9 on Fedora Linux 44 using start.sh.
  2. Open Chatting mode: Game Mode.
  3. Generate or encounter an NPC that has a description in the session history.
  4. Trigger NPC portrait image generation for that NPC.
  5. Inspect the prompt sent to the image generation model and compare it with the NPC description in session history.

Environment

  • Marinara Engine version: v2.0.9
  • Install type: source
  • OS + version: Fedora Linux 44
  • Browser or app shell: Not provided

Logs, screenshots, or video

Discord attachments provided: screenshot of what is sent to the image generation model; screenshot of session history showing NPC description/context. The user attempted to record video, but the image generation API was not cooperating.

Additional context

Previous related thread: https://discord.com/channels/1417099416812392641/1519344345377935390. Maintainer noted that portrait description matching may depend on the NPC name matching exactly. User says they also reproduced after spinning up a fresh VM with a fresh git pull to rule out local setup issues.

Discord thread: Game Mode NPC portraits image generation does not use description: Third time's the charm
Discord thread link: https://discord.com/channels/1417099416812392641/1522563560285147276
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (9 messages)
[2026-07-03T11:24:00.635Z] JurijPietrowicz™: OS: Fedora Linux 44
Install method: direct, through start.sh
Version: v2.0.9
Chatting mode: Game Mode

Previous thread: https://discord.com/channels/1417099416812392641/1519344345377935390

I love your work, please don't hate me. I just really want Game Mode to work correctly.
I can help with testing it or something. Dunno what else I could do.
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522563560285147276]

[2026-07-03T11:26:59.144Z] Marinara: I remember someone confirming that it works, though?
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564309006417920]

[2026-07-03T11:27:28.364Z] Marinara: Are you sure this is for portraits of NPCs that actually have descriptions generated?
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564431563722813]

[2026-07-03T11:27:37.413Z] Marinara: Remember that if their name is different it won’t work.
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564469518241824]

[2026-07-03T11:28:22.678Z] JurijPietrowicz™: I mean I think it's not working as intended. I even tried spinning fresh vm with fresh git pull to rule out anything in my setup.
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564659373146145]

[2026-07-03T11:28:30.594Z] JurijPietrowicz™: Let me video that quickly
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564692575518721]

[2026-07-03T11:55:49.795Z] JurijPietrowicz™: damn, image generation api doesn't want to cooperate 
but basically we end up with something like this send to the model

[attached image 1: https://cdn.discordapp.com/attachments/1522563560285147276/1522571567597359164/image.png?ex=6a48f4c5&is=6a47a345&hm=d2ae5d6da4e508f5e519f5cb781fed768027b4535b43cc6edf6324ec827c696c&]
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522571567882698792]

[2026-07-03T11:56:44.843Z] JurijPietrowicz™: and this is what I can see in the session history

[attached image 1: https://cdn.discordapp.com/attachments/1522563560285147276/1522571798133346414/image.png?ex=6a48f4fc&is=6a47a37c&hm=84dcb67607301cc7bf8ba6fa8cd9bd66b7104d0f2d9e13cd47b0e319a7fa1e08&]
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522571798770745385]

[2026-07-03T11:57:06.377Z] JurijPietrowicz™: I don't know if there is something more saved about character appearance
[Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522571889091022978]

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 (Jul 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3178 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In Game Mode, NPC portrait image generation appears not to include the NPC's generated description in the image prompt. The user reproduced this on their existing setup and on a fresh VM with a fresh git pull. ## Expected behavior When generating a portrait for an NPC that has a generated description and matching name, the image generation prompt should include and use that NPC description. ## Actual behavior The image generation prompt appears to omit or not use the NPC description, resulting in a prompt that does not reflect the character appearance stored in session history. ## Steps to reproduce 1. Run Marinara Engine v2.0.9 on Fedora Linux 44 using start.sh. 2. Open Chatting mode: Game Mode. 3. Generate or encounter an NPC that has a description in the session history. 4. Trigger NPC portrait image generation for that NPC. 5. Inspect the prompt sent to the image generation model and compare it with the NPC description in session history. ## Environment - Marinara Engine version: v2.0.9 - Install type: source - OS + version: Fedora Linux 44 - Browser or app shell: Not provided ## Logs, screenshots, or video Discord attachments provided: screenshot of what is sent to the image generation model; screenshot of session history showing NPC description/context. The user attempted to record video, but the image generation API was not cooperating. ## Additional context Previous related thread: https://discord.com/channels/1417099416812392641/1519344345377935390. Maintainer noted that portrait description matching may depend on the NPC name matching exactly. User says they also reproduced after spinning up a fresh VM with a fresh git pull to rule out local setup issues. Discord thread: Game Mode NPC portraits image generation does not use description: Third time's the charm Discord thread link: https://discord.com/channels/1417099416812392641/1522563560285147276 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (9 messages)</summary> ```text [2026-07-03T11:24:00.635Z] JurijPietrowicz™: OS: Fedora Linux 44 Install method: direct, through start.sh Version: v2.0.9 Chatting mode: Game Mode Previous thread: https://discord.com/channels/1417099416812392641/1519344345377935390 I love your work, please don't hate me. I just really want Game Mode to work correctly. I can help with testing it or something. Dunno what else I could do. [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522563560285147276] [2026-07-03T11:26:59.144Z] Marinara: I remember someone confirming that it works, though? [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564309006417920] [2026-07-03T11:27:28.364Z] Marinara: Are you sure this is for portraits of NPCs that actually have descriptions generated? [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564431563722813] [2026-07-03T11:27:37.413Z] Marinara: Remember that if their name is different it won’t work. [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564469518241824] [2026-07-03T11:28:22.678Z] JurijPietrowicz™: I mean I think it's not working as intended. I even tried spinning fresh vm with fresh git pull to rule out anything in my setup. [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564659373146145] [2026-07-03T11:28:30.594Z] JurijPietrowicz™: Let me video that quickly [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522564692575518721] [2026-07-03T11:55:49.795Z] JurijPietrowicz™: damn, image generation api doesn't want to cooperate but basically we end up with something like this send to the model [attached image 1: https://cdn.discordapp.com/attachments/1522563560285147276/1522571567597359164/image.png?ex=6a48f4c5&is=6a47a345&hm=d2ae5d6da4e508f5e519f5cb781fed768027b4535b43cc6edf6324ec827c696c&] [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522571567882698792] [2026-07-03T11:56:44.843Z] JurijPietrowicz™: and this is what I can see in the session history [attached image 1: https://cdn.discordapp.com/attachments/1522563560285147276/1522571798133346414/image.png?ex=6a48f4fc&is=6a47a37c&hm=84dcb67607301cc7bf8ba6fa8cd9bd66b7104d0f2d9e13cd47b0e319a7fa1e08&] [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522571798770745385] [2026-07-03T11:57:06.377Z] JurijPietrowicz™: I don't know if there is something more saved about character appearance [Discord message: https://discord.com/channels/1417099416812392641/1522563560285147276/1522571889091022978] ``` </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 05:41:51 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 3, 2026):

Codex is taking this in draft PR #3181.

<!-- gh-comment-id:4876911809 --> @SpicyMarinara commented on GitHub (Jul 3, 2026): Codex is taking this in draft PR #3181.
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#1704
No description provided.