mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2822] [Feature]: Add manual re-run button to Echo Chamber panel #1433
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#1433
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 @kevin-ho on GitHub (Jun 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2822
What problem does this solve?
The Echo Chamber agent has no manual re-run path. It only fires during normal generation — there's no way to refresh its reactions without generating a new reply.
The existing "Refresh Trackers" button retries agents via
retryAgents(chatId, agentTypes), but it's hardcoded to only retry agents withcategory: "tracker". Echo Chamber iscategory: "misc", so it's excluded by design.This means if echo chamber reactions feel stale or didn't fire on the last turn, the only option is to regenerate the entire reply — which is slow, costs tokens, and may change the response.
Proposed solution
Add a small refresh button to the Echo Chamber panel header that calls
retryAgents(chatId, ["echo-chamber"])directly. This reuses the existingretryAgentsinfrastructure but scopes it to just the echo chamber agent.The button:
RefreshCwicon style as other UI refresh actionsImplementation is ~18 lines in
EchoChamberPanel.tsx— adds the button, hooks intouseGenerate().retryAgents, and checksisAgentProcessing || isStreamingto prevent concurrent runs.Alternatives considered
Additional context
Have a working implementation ready. The
retryAgentshook already accepts arbitrary agent type arrays, so this is a clean, minimal addition.Template check
@SpicyMarinara commented on GitHub (Jun 23, 2026):
Thank you for the hard work, checking out the PR right now!