mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7465] [Issue]: Game Mode: empty purses, runaway tool rounds, sheet dumps in GM prompts, and flaky game e2e specs #4159
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#4159
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 @kolacheee on GitHub (Oct 12, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7465
Originally assigned to: @kolacheee on GitHub.
Summary
A tracking issue for a set of Game Mode fixes that ship together:
MAX_TOOL_ROUNDSof 100, so a model that kept asking for a roll (for example through a proxy that loses tool results) could make up to a hundred paid requests in one turn. The loop's last request, sent without tools, also used a shape that native Anthropic and Gemini connections cannot carry.pnpm -s.Expected behavior
The Game Master is told when a purse is empty; a Game Mode turn makes a handful of tool rounds at most and its final request is valid on every provider; GM prompts carry only what the model needs; the game e2e specs pass on their own.
Actual behavior
See the summary.
Steps to reproduce
Environment
Logs, screenshots, or video
Not applicable.
Additional context
Fixed together in one PR, linked below.
Template check