Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
refactor: skip effort normalization when the thinking-downgrade cache already forces it off (#5960)
Adam Eivydb15480f646d
diff --git a/server/services/codeReview.js b/server/services/codeReview.jsindex 34e26d5842..9fbf802b79 100644--- a/server/services/codeReview.js+++ b/server/services/codeReview.js@@ -364,9 +364,9 @@ async function runToolFreeLocalCompletion({ backend, model, messages, effort, ti}const cacheKey = `${backend}:${model}`- let resolvedEffort = normalizeReviewerEffort(effort, backend) || null- let effortUnsupported = thinkingUnsupportedModels.get(cacheKey) === true- if (effortUnsupported) resolvedEffort = null+ const effortUnsupportedCached = thinkingUnsupportedModels.get(cacheKey) === true+ let resolvedEffort = effortUnsupportedCached ? null : (normalizeReviewerEffort(effort, backend) || null)+ let effortUnsupported = effortUnsupportedCached// Local runtime records are normalized to the OpenAI `/v1` root, while the// legacy backend managers return the host root. Keep both forms compatible