mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3764] [Feature]: Add Max Output Tokens option in noodle settings #2029
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#2029
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 @Aculeasis on GitHub (Jul 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3764
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Noodle generation uses a hardcoded
"max_tokens": 6144, which is too small for Kimi models. As a result, kimi-k2.7 fails almost every time and returns no response.Proposed solution
Add a Max Output Tokens option in noodle settings, the same way it is done in the Agents settings.
Alternatives considered
Alternatively, we could add something like Agents Settings to the Connection settings, including a
minimum max_tokens(andmaximum max_tokens), and require all agents and system calls to respect them.Template check
@SpicyMarinara commented on GitHub (Jul 18, 2026):
Hey pookie, the max output tokens are not hard-coded for Noodle! The minimum size is calculated based on how many characters are responding, but the number is overwritten by your Connection's Default Chat Parameters! So it means you probably set that number there. :)
@Aculeasis commented on GitHub (Jul 18, 2026):
No, that's not the case. I see
"max_tokens":6144in the call for two characters, and even less for profile generation, despiteMax Output Tokensbeing set to 16000 and enabled. I found that this can be worked around viaCustom Parameters, wheremax_tokensis then set correctly:@SpicyMarinara commented on GitHub (Jul 18, 2026):
Hm, let me investigate this, then.
@SpicyMarinara commented on GitHub (Jul 18, 2026):
Addressed by #3785. Noodle now honors the enabled connection Max Output Tokens value for both generated profiles and timeline refreshes while preserving the calculated fallback and hard caps. CodeRabbit follow-up is clean, and both pnpm validation and container checks pass.