mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #164] [Feature]: Additional Advanced Parameters #56
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#56
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 @SamNadar on GitHub (Apr 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/164
What problem does this solve?
The Advanced Parameters section only exposes a fixed set of sampling parameters (temperature, top_p, top_k, max_tokens, frequency/presence penalty, reasoning effort, verbosity). There's no way to pass any other parameters regardless of the provider being used.
Proposed solution
Add an "Additional Parameters" JSON field to the connection settings that gets merged into the chat completion request body.
Similar to SillyTavern's "Additional Parameters" in connection settings that works with any provider.
Template check
@SpicyMarinara commented on GitHub (Apr 21, 2026):
What other parameters do you want to include? Most providers don't accept any others than the oned we provided.
@SamNadar commented on GitHub (Apr 21, 2026):
min_p, repetition penalty are the basic ones. Though allowing custom fields would allow testing other params for enabling thinking as the glm 5 models are not really adhering to the
<think></think>tags, one of these thinking toggles seems to fix the issue in SillyTavern:@SpicyMarinara commented on GitHub (Apr 21, 2026):
These samplers aren't supported by chat completion endpoints; they're only supported by text completion, which ME doesn't officially support. They're all outdated and need to stop being used, anyway.
@SamNadar commented on GitHub (Apr 21, 2026):
min_p and repetition penalty too as well? Though I guess min_p isn't enabled by some providers on Openrouter. Anyways if you could trying sending
enable_thinking: trueas well when thinking is enabled that would be appreciated as that's what seems to work for glm 5 and 5.1 (thinking: truedoesn't work just finished testing) Cheers.@SpicyMarinara commented on GitHub (Apr 21, 2026):
Yeah, Min P and Repetition Penalty, too. Hell, even models like Gemma-4 that you can run locally are recommended to be used only with Top P and Top K, and nothing else. And we already have GLM formatting with
enable_thinking, just not for GLM-5.1 yet, which I just addressed in v1.5.4.