[GH-ISSUE #4116] [Issue]: Duplicate prior response briefly appears when illustrator completes before next response streams #2231

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In RP Mode with the Illustrator Agent enabled, a temporary duplicate of Response 1 can appear below Message 2 if the illustrator output for Response 1 finishes before Response 2 begins streaming. The duplicate is replaced once Response 2 starts streaming, but the UI briefly shows the wrong response.

Expected behavior

After the user sends Message 2 while the Illustrator Agent for Response 1 is still running, the UI should continue to associate Response 1 and its image only with Message 1 and should not render a duplicate response below Message 2.

Actual behavior

If the Illustrator Agent for Response 1 completes and its image displays before Response 2 starts streaming, a second copy of Response 1 temporarily appears below Message 2. When Response 2 starts streaming, it replaces the incorrect duplicate.

Steps to reproduce

  1. Open Marinara Engine 2.3.5 in staging on Windows using the installer and Chrome.
  2. Enable RP Mode with the Illustrator Agent.
  3. Send Message 1 and wait for Response 1 to appear while the Illustrator Agent for Response 1 is still in progress.
  4. Before the Illustrator Agent finishes, send Message 2.
  5. If the image for Response 1 displays before Response 2 starts streaming, observe that a duplicate of Response 1 appears below Message 2 until Response 2 begins streaming.

Environment

  • Marinara Engine version: 2.3.5 in staging
  • Install type: installer
  • OS + version: Windows
  • Browser or app shell: Chrome

Logs, screenshots, or video

No logs, screenshots, or video were provided. User described the incorrect temporary UI state as: Message 1 -> Response 1 -> Image tied to Response 1 -> Message 2 -> Incorrect duplicate Response 1.

Additional context

Occurs in RP Mode with Illustrator Agent. Similar issue referenced: https://discord.com/channels/1417099416812392641/1530447312189653053. Reporter noted it is difficult to reproduce unless the main LLM responses are slow.

Discord thread: Incorrect response display relating to illustrator agent timing
Discord thread link: https://discord.com/channels/1417099416812392641/1530703964603945052
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-07-25T22:31:04.266Z] Wozza: 2.3.5 in staging
Windows | Installer | Chrome

RP Mode with Illustrator Agent

Step 1) User enters Message 1 -> LLM Responds with Response 1 - Illustrator Agent for response 1 is in progress.

Step 2) User enters Message 2 while Illustrator Agent for Response 1 is still running.

If Illustrator Agent completes and the image for Response 1 displays before Response 2 starts streaming to the screen then at the same time a second copy of Response 1 will display on the screen below Message 2.  This is only a temporary issue, when Response 2 starts streaming it will replace the incorrect Response 1.

This is how the screen will look while it is in the incorrect state.

Message 1 - Hello my name is user
Response 1 - Pleased to meet you user
Image tied to response 1
Message 2 - Lovely weather today
Incorrect duplicate Response 1 - Pleased to meet you user

This is a similar issue to https://discord.com/channels/1417099416812392641/1530447312189653053
and is difficult to recreate unless you are getting slow responses from your main LLM
[Discord message: https://discord.com/channels/1417099416812392641/1530703964603945052/1530703964603945052]

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 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4116 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In RP Mode with the Illustrator Agent enabled, a temporary duplicate of Response 1 can appear below Message 2 if the illustrator output for Response 1 finishes before Response 2 begins streaming. The duplicate is replaced once Response 2 starts streaming, but the UI briefly shows the wrong response. ## Expected behavior After the user sends Message 2 while the Illustrator Agent for Response 1 is still running, the UI should continue to associate Response 1 and its image only with Message 1 and should not render a duplicate response below Message 2. ## Actual behavior If the Illustrator Agent for Response 1 completes and its image displays before Response 2 starts streaming, a second copy of Response 1 temporarily appears below Message 2. When Response 2 starts streaming, it replaces the incorrect duplicate. ## Steps to reproduce 1. Open Marinara Engine 2.3.5 in staging on Windows using the installer and Chrome. 2. Enable RP Mode with the Illustrator Agent. 3. Send Message 1 and wait for Response 1 to appear while the Illustrator Agent for Response 1 is still in progress. 4. Before the Illustrator Agent finishes, send Message 2. 5. If the image for Response 1 displays before Response 2 starts streaming, observe that a duplicate of Response 1 appears below Message 2 until Response 2 begins streaming. ## Environment - Marinara Engine version: 2.3.5 in staging - Install type: installer - OS + version: Windows - Browser or app shell: Chrome ## Logs, screenshots, or video No logs, screenshots, or video were provided. User described the incorrect temporary UI state as: Message 1 -> Response 1 -> Image tied to Response 1 -> Message 2 -> Incorrect duplicate Response 1. ## Additional context Occurs in RP Mode with Illustrator Agent. Similar issue referenced: https://discord.com/channels/1417099416812392641/1530447312189653053. Reporter noted it is difficult to reproduce unless the main LLM responses are slow. Discord thread: Incorrect response display relating to illustrator agent timing Discord thread link: https://discord.com/channels/1417099416812392641/1530703964603945052 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-07-25T22:31:04.266Z] Wozza: 2.3.5 in staging Windows | Installer | Chrome RP Mode with Illustrator Agent Step 1) User enters Message 1 -> LLM Responds with Response 1 - Illustrator Agent for response 1 is in progress. Step 2) User enters Message 2 while Illustrator Agent for Response 1 is still running. If Illustrator Agent completes and the image for Response 1 displays before Response 2 starts streaming to the screen then at the same time a second copy of Response 1 will display on the screen below Message 2. This is only a temporary issue, when Response 2 starts streaming it will replace the incorrect Response 1. This is how the screen will look while it is in the incorrect state. Message 1 - Hello my name is user Response 1 - Pleased to meet you user Image tied to response 1 Message 2 - Lovely weather today Incorrect duplicate Response 1 - Pleased to meet you user This is a similar issue to https://discord.com/channels/1417099416812392641/1530447312189653053 and is difficult to recreate unless you are getting slow responses from your main LLM [Discord message: https://discord.com/channels/1417099416812392641/1530703964603945052/1530703964603945052] ``` </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:28 +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#2231
No description provided.