[GH-ISSUE #2846] [Issue]: Chat settings lag — Assistant Prefill types one character at a time and toggles are delayed #1440

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

Originally created by @Romuromylus on GitHub (Jun 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2846

Originally assigned to: @Romuromylus on GitHub.

Summary

The chat settings UI gets progressively laggy with prolonged use. The clearest case: typing into the Assistant Prefill field under Advanced Parameters makes characters appear one at a time, and toggling setting switches feels delayed.

Expected behavior

Typing in the Assistant Prefill field and flipping setting toggles should feel immediate.

Actual behavior

Characters in the Assistant Prefill field appear one at a time while typing, and switches react with a delay. It is intermittent but happens often, and tends to get worse the longer a chat session has been open.

Steps to reproduce

  1. Open a chat, then open Chat Settings → Advanced Parameters.
  2. Type a few words into the Assistant Prefill textarea.
  3. The text lags in one character at a time; toggling nearby switches is also delayed.

Environment

  • Marinara Engine version: 2.0.4
  • Install type: source (GitHub)
  • OS + version: Windows 11
  • Browser or app shell: Firefox

Logs, screenshots, or video

N/A — reproducible by typing into the Assistant Prefill field on a chat that has accumulated some metadata/history.

Additional context

The Assistant Prefill textarea is fully controlled by chatParameters, and every keystroke commits straight to a per-chat metadata mutation. The textarea only advances after that mutation round-trips and its query invalidations re-render the settings tree, which is why characters appear one at a time and the symptom worsens as chat metadata grows.

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 @Romuromylus on GitHub (Jun 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2846 Originally assigned to: @Romuromylus on GitHub. ## Summary The chat settings UI gets progressively laggy with prolonged use. The clearest case: typing into the Assistant Prefill field under Advanced Parameters makes characters appear one at a time, and toggling setting switches feels delayed. ## Expected behavior Typing in the Assistant Prefill field and flipping setting toggles should feel immediate. ## Actual behavior Characters in the Assistant Prefill field appear one at a time while typing, and switches react with a delay. It is intermittent but happens often, and tends to get worse the longer a chat session has been open. ## Steps to reproduce 1. Open a chat, then open Chat Settings → Advanced Parameters. 2. Type a few words into the Assistant Prefill textarea. 3. The text lags in one character at a time; toggling nearby switches is also delayed. ## Environment - Marinara Engine version: 2.0.4 - Install type: source (GitHub) - OS + version: Windows 11 - Browser or app shell: Firefox ## Logs, screenshots, or video N/A — reproducible by typing into the Assistant Prefill field on a chat that has accumulated some metadata/history. ## Additional context The Assistant Prefill textarea is fully controlled by `chatParameters`, and every keystroke commits straight to a per-chat metadata mutation. The textarea only advances after that mutation round-trips and its query invalidations re-render the settings tree, which is why characters appear one at a time and the symptom worsens as chat metadata grows. ## 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:35:17 +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#1440
No description provided.