mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6052] [Feature]: Show which generation-parameter layer is in effect (preset, connection, chat, mode) and document the order #3357
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#3357
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 @ghost on GitHub (Sep 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6052
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Generation parameters can come from four places: the prompt preset's
parameters, the connection's Default Parameters, the chat's Advanced Parameters, and mode rules (scene chat, Game mode), with the connection's Max Output Tokens override as a cap on top. Each layer has its own panel and none of them says which one is currently winning. A user who sets Max Tokens on the preset and sees 16 384 on the wire has to readprovider-generation-runtime.tsto learn that the chat's Advanced Parameters overrode it. The order is not documented indocs/.Observed order on staging
8906861ac(resolveGenerationProviderRuntime), later wins:parameterswhen the assembler resolves a preset, else defaults (temperature 1, max tokens 4096)BaseLLMProvider.applyMaxTokensCap)The preset's
parametersfield is accepted by the API (prompt.schema.ts) but the current client has no editor for it, so values written by an import or an older build keep acting as the base layer with nothing on screen to show it.Proposed solution
parametersin the preset editor or stop applying them; a layer that can be neither seen nor edited is a trap.Alternatives considered
Additional context
Found while verifying #5965: a connection Max Output Tokens override of 16 produced "16 of 4096" in an error message (fixed there). Reproduced on staging
8906861ac: chat Advanced Parameters max tokens 16 384 with the preset at 8192 → wiremax_tokens=16384; nothing in the UI says why.Template check
@ghost commented on GitHub (Sep 11, 2026):
I would like to handle this one myself. Once she's back from vacation.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Go for it, thank you!
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Owner: @SpicyMarinara (Codex). The maintainer has requested that this issue be completed in the assigned issue sweep, tracked in draft PR #6072. Existing contributor patches and previously completed translations will be reviewed and reused with attribution; the final PR will document the implementation and verification before this issue is closed.
@SpicyMarinara commented on GitHub (Sep 12, 2026):
Fixed in #6072, merged into
staging.Advanced Parameters and connection defaults now show saved effective values and their winning layer. Preset parameters are editable in the existing preset editor, and the layer order is documented. Browser/API checks cover saved edits, preset inheritance, chat overrides, scene rules, disabled parameters, and the connection output cap; a local provider fixture confirms the capped value on the actual request. Hints explicitly describe the stage before context fitting and provider-specific request shaping.