mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7725] [Issue]: advanced memory recall only wants to make 2 scenes when preparing history of existing roleplay #4258
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#4258
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 @stclaire on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7725
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When starting at the start of the chat, it worked fine and created many scenes. But when starting later on, it would only create two. The first for messages 1-20, and the second the rest (Messages 21-139 Ongoing in this case).
Affected package
Advanced memory recall
Expected behavior
Can make many scenes, even when setting up in an ongoing roleplay.
Actual behavior
Only made 2 scenes. I tried several times but same effect.
Steps to reproduce
Environment
Logs, screenshots, or video
Additional context
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 (Oct 16, 2026):
Thanks for the detailed report and the diagnostics! This is the scene detector being cautious, not a bug.
When Advanced Memory prepares existing history, a model reads the messages and marks where each scene ends. It only splits when it's sure the story moved to another place or time or switched to characters who are somewhere else. When it isn't sure, it leaves the scene open deliberately, so a scene is never cut in half. The last scene also stays open until it ends.
Your diagnostics show the built-in local model, gemma-4-E2B (Q4, 8k context, on the CPU), doing that work. A model that is small and quantized is rarely sure about scene changes. So after the first break it kept messages 21–139 as one ongoing scene. Starting from the beginning works better because each check then only looks at a few new messages at a time.
To get proper scenes:
If your story really stays in one place with the same characters for those messages, it is one scene, and that's fine. Recall still finds details inside it through its excerpts.
If you still get only one scene after a re-scan with a stronger model, please reopen this with the model you used, and we'll take another look. 💛
@stclaire commented on GitHub (Oct 16, 2026):
Sorry for confusion on the model. I have my agents all pointing to my main model, which is a Gemma 4 31B fine-tune (llmfan46/gemma-4-31B-it-uncensored-heretic-GGUF:Q8_0).
There's definitely changes like all the characters except persona leaving the room, then a different character enters, etc... Even an instance of a time jump to the next day which ought to very easily be identified as a scene transition.
If the problem is trying to process all the messages in one go, could there be a way to have it process it in chunks maybe? Or maybe even a way to manually delimit scenes if the model is having trouble?
Thanks very much for the help.