mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8866] [Issue]: Professor Mari references plans the user never saw, and fails on large-context OpenRouter models (402) #8530
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#8530
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 @mayhair on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8866
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Professor Mari has two bugs that make her unreliable:
What this means for users
Expected behavior
Actual behavior
Missing plan (seen with Claude models):
Mari's final message reads like "I checked this and that, the original plan I made is still there." The plan isn't visible anywhere.
OpenRouter (Kimi K3.1 Pro: fails immediately; Gemini 4 Argon: fails after one action):
Why it happens
Missing plan. Mari works in rounds. Two things make her text disappear without her knowing:
OpenRouter 402. Mari used the connection's Max Tokens as her output budget for every reply. On OpenRouter connections this is often filled from the model's whole window: 943,718 tokens for a 1M-context Kimi K3.1 Pro. OpenRouter reserves credits for the worst case (the prompt plus every requested output token) and refuses the request before the model runs. Gemini 4 Argon's connection had a smaller limit (65,536), so its first request went through. After one action the prompt grew (command results are added every step), and the reservation passed the balance.
Steps to reproduce
Missing plan:
OpenRouter:
moonshotai/kimi-k3.1-pro(Max Context 1,048,576; Max Tokens left at its auto-filled ~943k).google/gemini-4-argon, Mari completes one action, then fails the same way.Environment
stagingat24083470c)Logs, screenshots, or video
Error text is above. Connection settings for the failing connections:
moonshotai/kimi-k3.1-progoogle/gemini-4-argonAdditional 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 (Nov 5, 2026):
Fixed by #8865, merged into staging in
9b9275a1af. Thank you, @mayhair.