[GH-ISSUE #4262] [Issue]: Media prompt edits revert before generation #2305

Closed
opened 2026-10-21 05:47:09 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

When "Expose media prompts before sending" is enabled, edits made in the image prompt window revert to the original prompt before generation. The reversion may occur after clicking "Generate" or while the editor remains open.

Expected behavior

Edits made in the image prompt window should persist and be used when generating the illustration.

Actual behavior

The edited prompt reverts to its original state, either after a delay while the editor is open or immediately after clicking "Generate" before the image prompt window closes.

Steps to reproduce

  1. Enable "Expose media prompts before sending".
  2. Start a roleplay with the illustrator agent enabled.
  3. Open the media menu and start an illustration.
  4. Edit the prompts in the image prompt window.
  5. Wait; in some cases, the prompt reverts while the editor is still open.
  6. Click "Generate" and observe that the edited prompt reverts to the original before the window closes.

Environment

  • Marinara Engine version: v2.3.4, build b7545a6
  • Install type: docker
  • OS + version: iOS 26.5.2
  • Browser or app shell: Safari

Logs, screenshots, or video

Not provided in the Discord context.

Additional context

Observed in Roleplay mode with the illustrator agent enabled. The timing suggests edits may be overwritten by a delayed state update.

Discord thread: Expose media prompts before sending reverts prompt changes before generation
Discord thread link: https://discord.com/channels/1417099416812392641/1532045395499417630
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-29T15:21:26.314Z] Cheeto: - OS where bug is observed: iOS 26.5.2, Safari
- Docker
- Release: v2.3.4 Build: b7545a6
- Roleplay

Description: It seems that there is a bug in the "Expose media prompts before sending" setting.  The setting displays the prompt and the fields are editable, but after clicking the "generate" button the prompt reverts back to it's original state.  This can also sometimes be observed without clicking the generate button.  Sometimes the edits will revert while the editor is still on screen. Seems to be after a certain amount of time.  

Steps to reproduce:
1. Enable "Expose media prompts before sending" setting
2. start a roleplay with illustrator agent enabled
3. Open the media menu and click the button to start an illustration
4. Edit the prompts in the image prompt window that appear
5. Wait (in some cases you can see the prompt revert before clicking the "generate" button)
6. Click "generate" notice that your edited prompt reverts back to the original before the the Image prompt window closes.
[Discord message: https://discord.com/channels/1417099416812392641/1532045395499417630/1532045395499417630]

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 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4262 Originally assigned to: @SpicyMarinara on GitHub. ## Summary When "Expose media prompts before sending" is enabled, edits made in the image prompt window revert to the original prompt before generation. The reversion may occur after clicking "Generate" or while the editor remains open. ## Expected behavior Edits made in the image prompt window should persist and be used when generating the illustration. ## Actual behavior The edited prompt reverts to its original state, either after a delay while the editor is open or immediately after clicking "Generate" before the image prompt window closes. ## Steps to reproduce 1. Enable "Expose media prompts before sending". 2. Start a roleplay with the illustrator agent enabled. 3. Open the media menu and start an illustration. 4. Edit the prompts in the image prompt window. 5. Wait; in some cases, the prompt reverts while the editor is still open. 6. Click "Generate" and observe that the edited prompt reverts to the original before the window closes. ## Environment - Marinara Engine version: v2.3.4, build b7545a6 - Install type: docker - OS + version: iOS 26.5.2 - Browser or app shell: Safari ## Logs, screenshots, or video Not provided in the Discord context. ## Additional context Observed in Roleplay mode with the illustrator agent enabled. The timing suggests edits may be overwritten by a delayed state update. Discord thread: Expose media prompts before sending reverts prompt changes before generation Discord thread link: https://discord.com/channels/1417099416812392641/1532045395499417630 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-29T15:21:26.314Z] Cheeto: - OS where bug is observed: iOS 26.5.2, Safari - Docker - Release: v2.3.4 Build: b7545a6 - Roleplay Description: It seems that there is a bug in the "Expose media prompts before sending" setting. The setting displays the prompt and the fields are editable, but after clicking the "generate" button the prompt reverts back to it's original state. This can also sometimes be observed without clicking the generate button. Sometimes the edits will revert while the editor is still on screen. Seems to be after a certain amount of time. Steps to reproduce: 1. Enable "Expose media prompts before sending" setting 2. start a roleplay with illustrator agent enabled 3. Open the media menu and click the button to start an illustration 4. Edit the prompts in the image prompt window that appear 5. Wait (in some cases you can see the prompt revert before clicking the "generate" button) 6. Click "generate" notice that your edited prompt reverts back to the original before the the Image prompt window closes. [Discord message: https://discord.com/channels/1417099416812392641/1532045395499417630/1532045395499417630] ``` </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:47:09 +07:00
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#2305
No description provided.