mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2263] [Issue]: 08-PRESET-COMPAT-st-reasoning-effort-auto drops ST auto reasoning effort #1106
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#1106
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 @Promansis on GitHub (Jun 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2263
Originally assigned to: @Xelvanis on GitHub.
Summary
08-PRESET-COMPAT-st-reasoning-effort-auto: SillyTavern prompt preset import losesreasoning_effort: "auto"on the refactor branch. Legacy imports that value asreasoningEffort: "maximum", while the refactor Rust importer treats it as unknown and storesnull.Tracked from upstream Target 8 parity inventory: #2259.
Expected behavior
Importing a SillyTavern prompt preset with:
should preserve legacy compatibility by mapping
autoto Marinara prompt preset parameterreasoningEffort: "maximum".Legacy behavior:
main:packages/server/src/services/import/st-prompt.importer.ts:29definestoReasoningEffort.main:packages/server/src/services/import/st-prompt.importer.ts:30mapsautotomaximum.main:packages/server/src/services/import/st-prompt.importer.ts:101writes the mapped value toreasoningEffort.Actual behavior
The refactor ST preset importer accepts
low,medium,high,xhigh, andmaximum, but notauto. Any non-matching value becomesnull, so imported ST presets lose the legacyautomapping.Refactor behavior:
src-tauri/src/commands/storage/imports/st_preset.rs:50definesst_reasoning_effort.src-tauri/src/commands/storage/imports/st_preset.rs:52accepts onlylow,medium,high,xhigh, andmaximum.src-tauri/src/commands/storage/imports/st_preset.rs:55falls back toValue::Null.src-tauri/src/commands/storage/imports/st_preset.rs:289writes that result toreasoningEffort.Steps to reproduce
"reasoning_effort": "auto".reasoningEffortisnullinstead of"maximum".Impact area
Environment
Logs, screenshots, or video
Parity proof used static trace only; no runtime logs or screenshots.
Files inspected:
main:packages/server/src/services/import/st-prompt.importer.ts:29,:30,:101src-tauri/src/commands/storage/imports/st_preset.rs:50,:52,:55,:289Regression notes
Legacy
mainmaps STreasoning_effort: "auto"to"maximum". Refactor currently drops it tonull. This is a confirmed parity regression for surface08-PRESET-COMPAT-st-reasoning-effort-auto.Additional context
Acceptance criteria:
reasoning_effort: "auto"toreasoningEffort: "maximum".null.Related:
08-PRESET-COMPAT-st-reasoning-effort-autoTemplate check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: