feat(config): add custom_agents overrides and strict agent validation
This commit is contained in:
@@ -221,7 +221,14 @@ export function createDelegateTask(options: DelegateTaskToolOptions): ToolDefini
|
||||
return executeUnstableAgentTask(args, ctx, options, parentContext, agentToUse, categoryModel, systemContent, actualModel)
|
||||
}
|
||||
} else {
|
||||
const resolution = await resolveSubagentExecution(args, options, parentContext.agent, categoryExamples)
|
||||
const resolution = await resolveSubagentExecution(
|
||||
args,
|
||||
options,
|
||||
parentContext.agent,
|
||||
categoryExamples,
|
||||
inheritedModel,
|
||||
systemDefaultModel,
|
||||
)
|
||||
if (resolution.error) {
|
||||
return resolution.error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user