mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6280] [Issue]: Advanced Memory Recall cannot process existing chats #3502
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#3502
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 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6280
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Advanced Memory Recall fails when processing an existing chat because the request is cut off at exactly 1024 tokens. The process repeatedly ends with a scene decision completion error.
Expected behavior
Advanced Memory Recall should process the existing chat, complete the scene decision, and finish the memory recall process.
Actual behavior
Processing an existing chat stops at exactly 1024 tokens according to OpenRouter logs, regardless of the model used. The UI reports "Scene helper did not complete it's scene decision, retry preparation" and retrying does not resolve the failure.
Steps to reproduce
Environment
b659229c2e)Logs, screenshots, or video
OpenRouter logs show the request being cut off at exactly 1024 tokens. The visible error is: "Scene helper did not complete it's scene decision, retry preparation". No screenshots or video were provided.
Additional context
The reporter tested with DeepSeek first and GLM 5.3, with both reportedly stopping at the same limit. The support diagnostics list the active connection as Deepseek through OpenRouter using deepseek/deepseek-v4-flash. Server memory was heap 1059.5 / 3936 MiB and RSS 1721.7 MiB.
Discord thread: Advanced Memory Recall can't process existing chats
Discord thread link: https://discord.com/channels/1417099416812392641/1549929677815156846
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (3 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 (Sep 17, 2026):
Probably couldn't process the entire output, but when processing existing chats, let's ensure the model only returns scene ranges and short summaries for those scenes; not actual rewrites of messages. Models can also sometimes return incorrect JSON formats, so we need to have recovery set for such cases.
@SpicyMarinara commented on GitHub (Sep 17, 2026):
Owner: @SpicyMarinara. Codex is addressing this in draft PR #6282 as part of the requested issue sweep. Focused implementation and regression/browser verification are in progress.
@SpicyMarinara commented on GitHub (Sep 17, 2026):
Implemented in #6282, now merged to staging after the final CI and CodeRabbit gates passed.