mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6512] [Issue]: Advanced Memory fails on tiny constant-compaction targets #3649
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#3649
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 (Sep 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6512
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Advanced Memory can stop with “The helper model could not compact this history within the 196-token constant summary limit.” The number is a proportional target assigned to a constant-summary group, but the helper treats it as a strict completion requirement. This can block processing despite otherwise completed scene summaries.
Expected behavior
The maintainer also reported an automatic character-specific New Start on the latest message at roughly 30k in Peek Prompt, despite a 65k configured prompt limit. The flag menu did not show it selected and could not remove it. The context limit must apply to the outgoing prompt, excluding reply allowance; automatic scene resets must apply to all characters and be reversible through the existing All flag.
Actual behavior
The maintainer repeatedly receives the 196-token constant-summary error. Current code derives this target from each group’s share of the constant budget and retries until the summary fits it exactly. Scene prompts also lack the requested paragraph guidance.
Steps to reproduce
Environment
Logs, screenshots, or video
Reported error: “The helper model could not compact this history within the 196-token constant summary limit. Resume processing retries unfinished work.”
Additional context
Owner: @SpicyMarinara, with Codex-assisted implementation. Keep the fix narrow and reuse Chat Summary settings and existing resumable preparation.
Template check