fix(coding-agent): restored subagent thinking precedence
Agent frontmatter thinkingLevel now wins over model role suffix thinking when both are configured. Fixes #3915
This commit is contained in:
@@ -2053,9 +2053,7 @@ export async function runSubprocess(options: ExecutorOptions): Promise<SingleRes
|
||||
? formatModelSelectorValue(formatModelStringWithRouting(model), resolvedThinkingLevel)
|
||||
: formatModelStringWithRouting(model);
|
||||
}
|
||||
const effectiveThinkingLevel = explicitThinkingLevel
|
||||
? resolvedThinkingLevel
|
||||
: (thinkingLevel ?? resolvedThinkingLevel);
|
||||
const effectiveThinkingLevel = thinkingLevel ?? resolvedThinkingLevel;
|
||||
resolvedAt = performance.now();
|
||||
|
||||
const effectiveCwd = worktree ?? cwd;
|
||||
|
||||
Reference in New Issue
Block a user