[GH-ISSUE #4070] [Issue]: LLM response temporarily disappears during image generation #2196

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

When continuing a roleplay chat while the illustrator agent is still generating an image, the previous LLM response temporarily disappears from the conversation display.

Expected behavior

The first LLM response should remain visible in the correct conversation order while its image is generated and subsequent messages are sent.

Actual behavior

Sending a second user message before the first image finishes causes the first LLM response to disappear temporarily. It reappears with the generated image when image generation completes, restoring the correct order.

Steps to reproduce

  1. Start a roleplay chat with the illustrator agent enabled.
  2. Send a message to the main LLM and wait for its response and the illustrator agent to begin image generation.
  3. As soon as the UI allows, send a second message before the first image finishes generating.
  4. Observe that the first LLM response disappears, leaving the first and second user messages visible together.
  5. Wait for image generation to complete and observe that the first LLM response and image reappear in the correct order.

Environment

  • Marinara Engine version: 2.3.4 Staging
  • Install type: installer
  • OS + version: Windows; version not provided
  • Browser or app shell: Chrome

Logs, screenshots, or video

Three screenshots show the display stages: https://cdn.discordapp.com/attachments/1530447312189653053/1530447312600432690/Screenshot_2026-07-25_170828.png?ex=6a659ba1&is=6a644a21&hm=a24a03f142a01d0374db88f034d52cc28348b71f32c114c7a209ebbf38b59d8a& ; https://cdn.discordapp.com/attachments/1530447312189653053/1530447312927719484/Screenshot_2026-07-25_170804.png?ex=6a659ba1&is=6a644a21&hm=20874d2c3baa747fdd06014819d11921d666d271290c396e4f6cf5e94c31ff49& ; https://cdn.discordapp.com/attachments/1530447312189653053/1530447313267589290/Screenshot_2026-07-25_170844.png?ex=6a659ba1&is=6a644a21&hm=80871eacae4e3013ae8731da118e42084f949352ca8b596e9a1efa5299388889&

Additional context

The issue is easiest to reproduce by sending roleplay messages as quickly as the UI permits while the illustrator agent is enabled. The reporter suspects there may be other display-order variations under the same conditions.

Discord thread: Display issues when continuing roleplay while image generation is running
Discord thread link: https://discord.com/channels/1417099416812392641/1530447312189653053
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-25T05:31:13.562Z] Wozza: 2.3.4 Staging
Windows Installer Chrome

The illustrator agent was changed so it is now possible to continue sending text rp prompts while image generation from the agent is running.  Basically once the image prompt is send to the image generator you are free to send another text prompt to the main LLM connection.  While this is something I really like there are some display issues around it.

Step 1) Send a message to the main LLM and get a response - the illustrator agent fires.

At this point the screen will show user message 1 followed by system response 1.

Step 2)  As soon as the option becomes available send another user message to the LLM, before the image generation from message 1 is complete. **This will cause response 1 to incorrectly disappear from the screen, temporarily.**

At this point the screen will show user message 1 followed by user message 2.

Step 3) When the image generation from message 1 is complete - the LLM response to message 1 will reappear along with the message 1 image.

At this point the display will be correct again User message 1 then LLM response 1 then image 1 then user message 2.

This is kind of complex to explain, I have attached screenshots of the 3 stages that may help.

If this doesn't make sense the  easiest way to recreate is to start a rp chat with illustrator agent on and send messages to the llm as quickly as the ui will allow.

I think there are may be another variation of ways things display wrong when doing this but this one was the one I was able to pin down.

[attached image 1: https://cdn.discordapp.com/attachments/1530447312189653053/1530447312600432690/Screenshot_2026-07-25_170828.png?ex=6a659ba1&is=6a644a21&hm=a24a03f142a01d0374db88f034d52cc28348b71f32c114c7a209ebbf38b59d8a&]
[attached image 2: https://cdn.discordapp.com/attachments/1530447312189653053/1530447312927719484/Screenshot_2026-07-25_170804.png?ex=6a659ba1&is=6a644a21&hm=20874d2c3baa747fdd06014819d11921d666d271290c396e4f6cf5e94c31ff49&]
[attached image 3: https://cdn.discordapp.com/attachments/1530447312189653053/1530447313267589290/Screenshot_2026-07-25_170844.png?ex=6a659ba1&is=6a644a21&hm=80871eacae4e3013ae8731da118e42084f949352ca8b596e9a1efa5299388889&]
[Discord message: https://discord.com/channels/1417099416812392641/1530447312189653053/1530447312189653053]

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 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4070 Originally assigned to: @SpicyMarinara on GitHub. ## Summary When continuing a roleplay chat while the illustrator agent is still generating an image, the previous LLM response temporarily disappears from the conversation display. ## Expected behavior The first LLM response should remain visible in the correct conversation order while its image is generated and subsequent messages are sent. ## Actual behavior Sending a second user message before the first image finishes causes the first LLM response to disappear temporarily. It reappears with the generated image when image generation completes, restoring the correct order. ## Steps to reproduce 1. Start a roleplay chat with the illustrator agent enabled. 2. Send a message to the main LLM and wait for its response and the illustrator agent to begin image generation. 3. As soon as the UI allows, send a second message before the first image finishes generating. 4. Observe that the first LLM response disappears, leaving the first and second user messages visible together. 5. Wait for image generation to complete and observe that the first LLM response and image reappear in the correct order. ## Environment - Marinara Engine version: 2.3.4 Staging - Install type: installer - OS + version: Windows; version not provided - Browser or app shell: Chrome ## Logs, screenshots, or video Three screenshots show the display stages: https://cdn.discordapp.com/attachments/1530447312189653053/1530447312600432690/Screenshot_2026-07-25_170828.png?ex=6a659ba1&is=6a644a21&hm=a24a03f142a01d0374db88f034d52cc28348b71f32c114c7a209ebbf38b59d8a& ; https://cdn.discordapp.com/attachments/1530447312189653053/1530447312927719484/Screenshot_2026-07-25_170804.png?ex=6a659ba1&is=6a644a21&hm=20874d2c3baa747fdd06014819d11921d666d271290c396e4f6cf5e94c31ff49& ; https://cdn.discordapp.com/attachments/1530447312189653053/1530447313267589290/Screenshot_2026-07-25_170844.png?ex=6a659ba1&is=6a644a21&hm=80871eacae4e3013ae8731da118e42084f949352ca8b596e9a1efa5299388889& ## Additional context The issue is easiest to reproduce by sending roleplay messages as quickly as the UI permits while the illustrator agent is enabled. The reporter suspects there may be other display-order variations under the same conditions. Discord thread: Display issues when continuing roleplay while image generation is running Discord thread link: https://discord.com/channels/1417099416812392641/1530447312189653053 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-25T05:31:13.562Z] Wozza: 2.3.4 Staging Windows Installer Chrome The illustrator agent was changed so it is now possible to continue sending text rp prompts while image generation from the agent is running. Basically once the image prompt is send to the image generator you are free to send another text prompt to the main LLM connection. While this is something I really like there are some display issues around it. Step 1) Send a message to the main LLM and get a response - the illustrator agent fires. At this point the screen will show user message 1 followed by system response 1. Step 2) As soon as the option becomes available send another user message to the LLM, before the image generation from message 1 is complete. **This will cause response 1 to incorrectly disappear from the screen, temporarily.** At this point the screen will show user message 1 followed by user message 2. Step 3) When the image generation from message 1 is complete - the LLM response to message 1 will reappear along with the message 1 image. At this point the display will be correct again User message 1 then LLM response 1 then image 1 then user message 2. This is kind of complex to explain, I have attached screenshots of the 3 stages that may help. If this doesn't make sense the easiest way to recreate is to start a rp chat with illustrator agent on and send messages to the llm as quickly as the ui will allow. I think there are may be another variation of ways things display wrong when doing this but this one was the one I was able to pin down. [attached image 1: https://cdn.discordapp.com/attachments/1530447312189653053/1530447312600432690/Screenshot_2026-07-25_170828.png?ex=6a659ba1&is=6a644a21&hm=a24a03f142a01d0374db88f034d52cc28348b71f32c114c7a209ebbf38b59d8a&] [attached image 2: https://cdn.discordapp.com/attachments/1530447312189653053/1530447312927719484/Screenshot_2026-07-25_170804.png?ex=6a659ba1&is=6a644a21&hm=20874d2c3baa747fdd06014819d11921d666d271290c396e4f6cf5e94c31ff49&] [attached image 3: https://cdn.discordapp.com/attachments/1530447312189653053/1530447313267589290/Screenshot_2026-07-25_170844.png?ex=6a659ba1&is=6a644a21&hm=80871eacae4e3013ae8731da118e42084f949352ca8b596e9a1efa5299388889&] [Discord message: https://discord.com/channels/1417099416812392641/1530447312189653053/1530447312189653053] ``` </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:46:11 +07:00
Author
Owner

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

🔧 Ownership note: @SpicyMarinara is handling this in draft PR #4077 as part of the current open-issue sweep.

<!-- gh-comment-id:5077419641 --> @SpicyMarinara commented on GitHub (Jul 25, 2026): 🔧 Ownership note: @SpicyMarinara is handling this in draft PR #4077 as part of the current open-issue sweep.
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#2196
No description provided.