fix(delegate-task): guard skipped sentinel in subagent-resolver

This commit is contained in:
YeonGyu-Kim
2026-03-17 15:57:23 +09:00
parent e9887dd82f
commit a7301ba8a9

View File

@@ -124,7 +124,7 @@ Create the work plan directly - that's your job as the planning agent.`,
systemDefaultModel: undefined,
})
if (resolution) {
if (resolution && !('skipped' in resolution)) {
const normalized = normalizeModelFormat(resolution.model)
if (normalized) {
const variantToUse = agentOverride?.variant ?? resolution.variant