mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1349] Slurp2: fixed output-token limits ignore the connection's max tokens, so reasoning models (glm5) fail #690
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#690
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 @Gunterlie on GitHub (Oct 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1349
Originally assigned to: @Gunterlie on GitHub.
Report (Discord, Slurp 0.3.31)
ylliselmanii: still getting a cut-off
{"level":40,...log line. LocalYokel: on glm5 it failed until switching back to deepseek; "something about max tokens but mine were set to 128k". Bloo quoted what is probably the same line:[slurp] Image prompt rewrite unusable (<reason>); sending the capped draft. The full line is not available.Root cause
slp-image-prompt-rewrite.tssends a fixedmaxTokens: 4_096and never reads the connection's stored max-tokens setting (defaultParameters.maxTokens). A reasoning model spends the 4096 on thinking and returns an empty or cut-off answer. The failure reasons then say "raise the connection's max output tokens", but raising it changes nothing. Other Slurp calls already useresolveStoredMaxTokens+clampGenerationMaxOutputTokens.Fixed-limit calls without the helper (this fix covers all)
(slp-conversation-schedule-generation.ts already reads the provider override; left as is.)
Warnings that mention max tokens: only the rewrite failure reasons (empty response, "looks cut off"). The exact log line from the user is still unconfirmed.