mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6815] [Issue]: Text is not removed when used for a Guided Regeneration #3819
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3819
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Environment
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:
@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.
@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.