mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #331] [Feature]: Enable Custom Chat Memory Agents #140
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#140
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 @adunato on GitHub (Apr 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/331
What problem does this solve?
Users can create custom agents, but those agents cannot maintain the persisted chat summary during generation. Custom agents also lack a configurable run cadence, so memory-style agents run too often for a sensible memory summarisation task.
These limitations affect users who want to build their own memory workflows instead of relying only on the built-in summary agent.
Proposed solution
Add chat-summary tools for custom agents:
read_chat_summaryfor reading the current persisted chat summary.append_chat_summaryfor appending durable updates to the persisted chat summary.Generation agents should receive a route-owned tool context that can read current chat metadata and request metadata patches. The server route should persist those patches, update request-local metadata, and emit a metadata change event so summary-dependent UI can refresh.
Custom agents should also get a generic run cadence setting based on user-message count. The cadence controls should apply only to custom agents, leaving the built-in summary agent's existing interval behavior independent.
Alternatives considered
Additional context
Desired capabilities:
Template check
@adunato commented on GitHub (Apr 30, 2026):
I'm about to raise a PR to address this. In the future I'll raise the feature request in advance of starting development so that we can align on approach / direction with the repo team.
@SpicyMarinara commented on GitHub (May 3, 2026):
Thank you for the PR, merging right now!