fix(delegate-task): guard skipped sentinel in subagent-resolver
This commit is contained in:
@@ -124,7 +124,7 @@ Create the work plan directly - that's your job as the planning agent.`,
|
|||||||
systemDefaultModel: undefined,
|
systemDefaultModel: undefined,
|
||||||
})
|
})
|
||||||
|
|
||||||
if (resolution) {
|
if (resolution && !('skipped' in resolution)) {
|
||||||
const normalized = normalizeModelFormat(resolution.model)
|
const normalized = normalizeModelFormat(resolution.model)
|
||||||
if (normalized) {
|
if (normalized) {
|
||||||
const variantToUse = agentOverride?.variant ?? resolution.variant
|
const variantToUse = agentOverride?.variant ?? resolution.variant
|
||||||
|
|||||||
Reference in New Issue
Block a user