[GH-ISSUE #6716] [Issue]: Decision model Thinking dropdown snaps back to Auto when the decision sidecar is selected #3762

Closed
opened 2026-10-21 06:06:57 +07:00 by bsakaguchi · 0 comments
Owner

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)

  1. On Linux with an NVIDIA GPU, install the decision sidecar with Open-Jev 2B (Connections → Local Model → Decision sidecar).
  2. In Connections → Connection defaults, set Decision model to Decision sidecar — Open-Jev 2B.
  3. Under Thinking, choose Off (always answer in one word).

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/thinking was answered 409 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: LocalSlotControls is mounted for any available entry that has a slot, the sidecar included.
  • Only the Primary and Utility local models have the setting: hasThinkingSetting in packages/server/src/services/decision/decision-slots.ts. GET /api/decision/options leaves thinking and answerStyle off the sidecar entry, and POST /api/decision/thinking refuses it with 409.

What's happening

The dropdown's value is entry.thinking ?? "auto". The sidecar entry has no thinking, so it always shows Auto, and a change is refused, so it re-renders as Auto. The "Needs to think" line checks answerStyle !== "unknown", which is also true when answerStyle is missing.

Suggested fix

Show the Thinking block only for an entry that carries a thinking value. 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 77d4b0e57 in a scratch install (API and browser). Verify before fixing.

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) 1. On Linux with an NVIDIA GPU, install the decision sidecar with Open-Jev 2B (**Connections → Local Model → Decision sidecar**). 2. In **Connections → Connection defaults**, set **Decision model** to **Decision sidecar — Open-Jev 2B**. 3. Under **Thinking**, choose **Off (always answer in one word)**. **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/thinking` was answered `409 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`: `LocalSlotControls` is mounted for any available entry that has a `slot`, the sidecar included. - Only the Primary and Utility local models have the setting: `hasThinkingSetting` in `packages/server/src/services/decision/decision-slots.ts`. `GET /api/decision/options` leaves `thinking` and `answerStyle` off the sidecar entry, and `POST /api/decision/thinking` refuses it with 409. ## What's happening The dropdown's value is `entry.thinking ?? "auto"`. The sidecar entry has no `thinking`, so it always shows Auto, and a change is refused, so it re-renders as Auto. The "Needs to think" line checks `answerStyle !== "unknown"`, which is also true when `answerStyle` is missing. ## Suggested fix Show the Thinking block only for an entry that carries a `thinking` value. 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 `77d4b0e57` in a scratch install (API and browser). Verify before fixing.
bsakaguchi 2026-10-21 06:06:57 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3762
No description provided.