[GH-ISSUE #6815] [Issue]: Text is not removed when used for a Guided Regeneration #3819

Closed
opened 2026-10-21 06:07:54 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kirk56k on GitHub (Sep 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6815

Originally assigned to: @SpicyMarinara on GitHub.

Summary

When typing text into the chat field for a Roleplay and then clicking the Regenerate button to cause a Guided Regeneration, the text remains after the regeneration is complete.

Expected behavior

Generally, when an input is used by a system, that input is reset to blank if the input field is expected to be used again for further input.

Actual behavior

The text remains in the field, unchanged, and could accidentally be used for regular chat input later, particularly if the user has the system to accept Enter as creating a new chat line.

Steps to reproduce

  1. Enter text in the Chat field of a RolePlay
  2. Click the last responses Regenerate button (which says Regenerate (guided))
  3. See that the text remains in the input field instead of being cleared

Environment

  • Marinara Engine version: Latest
  • Install type: installer
  • OS + version: Windows 11
  • Browser or app shell: Browser

Logs, screenshots, or video

None

Additional context

None

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 @kirk56k on GitHub (Sep 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6815 Originally assigned to: @SpicyMarinara on GitHub. ## Summary When typing text into the chat field for a Roleplay and then clicking the Regenerate button to cause a Guided Regeneration, the text remains after the regeneration is complete. ## Expected behavior Generally, when an input is used by a system, that input is reset to blank if the input field is expected to be used again for further input. ## Actual behavior The text remains in the field, unchanged, and could accidentally be used for regular chat input later, particularly if the user has the system to accept Enter as creating a new chat line. ## Steps to reproduce 1. Enter text in the Chat field of a RolePlay 2. Click the last responses Regenerate button (which says Regenerate (guided)) 3. See that the text remains in the input field instead of being cleared ## Environment - Marinara Engine version: Latest - Install type: installer - OS + version: Windows 11 - Browser or app shell: Browser ## Logs, screenshots, or video None ## Additional context None ## 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 06:07:54 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 28, 2026):

SpicyMarinara / Codex is taking this fix. I will trace the shared guided-regeneration path, clear only the guidance consumed by an accepted regeneration, and cover confirmation cancellation, failures, chat switching, and newer drafts. Work will be submitted against staging in a dedicated PR.

<!-- gh-comment-id:5874457080 --> @SpicyMarinara commented on GitHub (Sep 28, 2026): SpicyMarinara / Codex is taking this fix. I will trace the shared guided-regeneration path, clear only the guidance consumed by an accepted regeneration, and cover confirmation cancellation, failures, chat switching, and newer drafts. Work will be submitted against staging in a dedicated PR.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 4, 2026):

Hi @kirk56k, a quick follow-up. Another user asked for the opposite behaviour (#7060): keep the direction in the chat box after a guided regenerate so it can be adjusted and run again. So this is now a setting, added in #7063.

If you'd like the box cleared after a guided regenerate, as you asked here, turn off Keep guidance after regenerating in Settings → General → Input & Editing. With it off, the box is cleared once a guided regenerate starts, the text comes back if generation fails, and anything you've typed since is never overwritten.

<!-- gh-comment-id:5984517236 --> @SpicyMarinara commented on GitHub (Oct 4, 2026): Hi @kirk56k, a quick follow-up. Another user asked for the opposite behaviour (#7060): keep the direction in the chat box after a guided regenerate so it can be adjusted and run again. So this is now a setting, added in #7063. If you'd like the box cleared after a guided regenerate, as you asked here, turn off **Keep guidance after regenerating** in **Settings → General → Input & Editing**. With it off, the box is cleared once a guided regenerate starts, the text comes back if generation fails, and anything you've typed since is never overwritten.
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#3819
No description provided.