mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4200] [Issue]: Input field is not cleared after stopping generation #2275
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#2275
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 @SpicyMarinara on GitHub (Jul 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4200
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When a message is sent and generation is stopped before the response finishes, the message is correctly added to chat history but remains in the input field. The input should be cleared when the message is sent.
Expected behavior
The input field should be cleared immediately after sending the message, including when generation is later stopped.
Actual behavior
After clicking "Stop Generation" before the response finishes, the sent message appears in chat history but its text remains in the input field.
Steps to reproduce
Environment
Logs, screenshots, or video
Screenshot attached: https://cdn.discordapp.com/attachments/1531508194902540448/1531553952619954298/image.png?ex=6a69a245&is=6a6850c5&hm=749d16e819c489577e436ecbfb8df833dd6e6fe1756be4a3483424620b45f229&
Additional context
The issue was independently reported by another user. The reported usage mode was Roleplay.
Discord thread: Input field isn't cleared after sending a message and clicking Stop Generation
Discord thread link: https://discord.com/channels/1417099416812392641/1531508194902540448
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (8 messages)
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 (Jul 28, 2026):
Regression verification is claimed by @SpicyMarinara on
agent/assigned-issues-4195-4198. I’m adding the exact Roleplay send-then-stop sequence to the shared staging-targeted draft PR #4199, including the distinction between clearing the sent text immediately and preserving any new unsent draft typed while generation is running.@SpicyMarinara commented on GitHub (Jul 28, 2026):
Fixed on
stagingvia #4199 (a97cc55d6). An intentional stop now counts as successful once the request submitted a user turn, even before the first assistant token, so already-sent text stays cleared while the user message remains durable. The exact send-then-stop-before-token case passed in Playwright and after reload.