mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #100] Hierarchical Maps: reasoning-model map drafts truncate; connection Max Output Tokens ignored #49
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#49
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 (Jul 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/100
Mirrors Marinara-Engine #4026.
In GM/Roleplay Hierarchical Maps, map-draft generation uses small hardcoded per-size output budgets (small 6k / medium 10k / large 16k). Reasoning-heavy models (e.g.
glm-*:thinking) spend most of that budget on hidden thinking, so the visible JSON is cut off and rejected as invalid. Raising the connection's Max Output Tokens does not help, because the Engine only uses that setting to cap the request (min(request, override)), never to raise it — and the capability can't read the connection's Max Output Tokens through the host abstraction.Also, all draft failures surface the same generic "The AI could not create a valid map draft" message, so users can't tell truncation from a structural problem.
Fix: raise the per-size request budgets so a higher connection Max Output Tokens actually takes effect (while a lower one is still respected via the Engine cap), and distinguish the draft failure modes in the error message.