mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1350] [MERGED] fix(slurp2): 0.3.33 — fixed output-token limits yield to the connection's max tokens #1415
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#1415
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1350
Author: @Gunterlie
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @Gunterlie
Base:
staging← Head:fix/slurp2-image-rewrite-reasoning-models📝 Commits (2)
b03f0dffix(slurp2): 0.3.33 — fixed output-token limits yield to the connection's max tokens (#1349)30266a4fix(slurp2): stored max tokens only raise the fixed limit; failure names a suppressed limit (#1349)📊 Changes
22 files changed (+407 additions, -322 deletions)
View changed files
➕
artifacts/slurp2-0.3.33.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+4 -0)📝
packages/slurp2/client.js(+62 -62)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+183 -183)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+8 -19)📝
packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt-rewrite.ts(+15 -3)📝
packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-assist-service.ts(+13 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-stir-service.ts(+13 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/audience/slp-fan-voice-draft-service.ts(+9 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/creators/slp-creator-page-service.ts(+9 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/creators/slp-page-style-service.ts(+9 -1)📝
packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-appearance-service.ts(+13 -1)📝
scripts/build-feature-packages.mjs(+1 -1)...and 2 more files
📄 Description
Pull request
Linked issue
Closes #1349
Why this change
Image prompt rewrite unusable (...), and only works again on deepseek. The user says max tokens was 128k.maxTokens: 4_096and never read the connection's stored max tokens, so a reasoning model spent the limit on thinking and returned nothing. Six more short Slurp calls had the same fixed limit.maxContext, or the max-tokens parameter may be switched off on that connection; this change does not help then. The exact log line is still unconfirmed. The new failure text carries the limit that was sent, which will show it.What changed
Math.max(resolveStoredMaxTokens(connection.defaultParameters, N), N), clamped byclampGenerationMaxOutputTokens(the existing pattern). A larger stored setting raises the limit; a smaller one never starves a call.slp-release.tsunder the 800-line rule.client.js,server.mjs, manifest, catalogs,artifacts/slurp2-0.3.33.zip(build script only).Package and security impact
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
npm run check(0 errors), catalog lanes, locales, catalog validation, release-notes regression, full Slurp regressions 287/287, slurp2 typecheck. Not run: live test on a glm5 connection.Documentation impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.