mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5237] [Issue]: Restore cancellation of post-processing agents after dialogue generation #2898
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#2898
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 (Aug 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5237
Originally assigned to: @SpicyMarinara on GitHub.
Summary
After the LLM finishes generating dialogue, the cancel control changes back to the send arrow while post-processing agents are still running. This prevents users from stopping agent work before regenerating the dialogue.
Expected behavior
In the Agents menu in the top left corner of the Roleplay mode, add a button to Stop Agents if any Parallel and Post-Processing agents are currently running. This should halt all of them.
Actual behavior
The cancel button changes from the square abort control back to the send arrow as soon as dialogue generation completes, even though post-processing agents continue running. This is the intended behavior, since the user should be allowed to continue the roleplay/generate swipes without waiting for them to finish, but they should also be offered an alternative to stop them, preferably in the agent menu.
Steps to reproduce
Environment
Logs, screenshots, or video
Support Diagnostics provided in the Discord context. Screenshots: https://cdn.discordapp.com/attachments/1539388421729030214/1539391706716176444/image.png?ex=6a8625bf&is=6a84d43f&hm=4bd41b0afaaea0d5e8d0f06dca5e45f5270191a5dfdf77fe70b4d2684f5b6061 and https://cdn.discordapp.com/attachments/1539388421729030214/1539395763837341817/image.png?ex=6a862986&is=6a84d806&hm=5b94d20bb275b2e54019ba4e6f7ce9b8f2080d584a93714859a81d196c7abbe7
Additional context
The issue reproduces with post-processing agents, including when Beholder and Inventory were disabled, and was also observed with Persona Stats, Character Tracker, and World State alone. A separate test reported the same behavior on Android/Termux without Windows involvement and in both Chrome and Firefox. Marinara Engine stated that these agents should have a stop button in the Agents menu, but that button is not visible. A related issue may be https://github.com/Pasta-Devs/Marinara-Engine/issues/5155. Agent versions were not provided.
Discord thread: Restore the agent cancelling
Discord thread link: https://discord.com/channels/1417099416812392641/1539388421729030214
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (53 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 (Aug 19, 2026):
Ownership: @SpicyMarinara is handling this in the combined assigned-issue sweep covering #5235, #5237, #5238, #5239, and #5240. A draft PR against
stagingwill be linked before implementation proceeds.@SpicyMarinara commented on GitHub (Aug 19, 2026):
Implementation is now tracked in draft PR #5244 against
staging.