mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6716] [Issue]: Decision model Thinking dropdown snaps back to Auto when the decision sidecar is selected #3762
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#3762
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 @kolacheee on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6716
Originally assigned to: @kolacheee on GitHub.
When the installed decision sidecar (Open-Jev) is the Decision model, the panel still shows a Thinking dropdown for it. Picking Off or Allowed snaps straight back to Auto with no message, and the panel says "Needs to think before answering, so decisions are slower." about a model that never reasons.
How to reproduce (try it yourself)
What you'll see: the dropdown returns to Auto at once and no error appears. "Needs to think before answering, so decisions are slower." stays under it. In the browser's network tab,
POST /api/decision/thinkingwas answered409 That model has no thinking setting.What should happen: the sidecar has no Thinking setting, so no Thinking controls are shown for it.
Where it is
packages/client/src/components/connections/DecisionDefaultControl.tsx:LocalSlotControlsis mounted for any available entry that has aslot, the sidecar included.hasThinkingSettinginpackages/server/src/services/decision/decision-slots.ts.GET /api/decision/optionsleavesthinkingandanswerStyleoff the sidecar entry, andPOST /api/decision/thinkingrefuses it with 409.What's happening
The dropdown's value is
entry.thinking ?? "auto". The sidecar entry has nothinking, so it always shows Auto, and a change is refused, so it re-renders as Auto. The "Needs to think" line checksanswerStyle !== "unknown", which is also true whenanswerStyleis missing.Suggested fix
Show the Thinking block only for an entry that carries a
thinkingvalue. That is the server's own signal that the slot has the setting.Context
Staging only: it came in with the managed decision sidecar (#6556) and is in no release. Investigated with an AI agent and reproduced on staging
77d4b0e57in a scratch install (API and browser). Verify before fixing.