From a6f08ff0c8bcb0d97fa333f1c018cba67f21b4a3 Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sat, 20 Jun 2026 12:09:39 +0530 Subject: [PATCH] docs(delegate): clarify subagent model is config-level, not per-call delegate_task has never exposed a per-call model parameter (removed intentionally in fb0f579b1). The tool description gave no hint about how subagent model is actually controlled, so users kept expecting a model arg and filing it as a dropped/ignored param (e.g. #49332, #23467). Add one bullet to the dynamically-built tool description stating that children inherit the parent model + fallback chain, and that pinning all subagents to a specific model is done via delegation.provider / delegation.model in config.yaml. No behavior change. --- tools/delegate_tool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/delegate_tool.py b/tools/delegate_tool.py index b89e7f8dbbd..2613b13a8db 100644 --- a/tools/delegate_tool.py +++ b/tools/delegate_tool.py @@ -2885,6 +2885,7 @@ def _build_top_level_description() -> str: f"Orchestrators are bounded by max_spawn_depth={max_depth} for this " f"user and can be disabled globally via " "delegation.orchestrator_enabled=false.\n" + "- Subagent model is NOT selectable per call: children inherit the parent model (plus its fallback chain) unless you pin all subagents to a model via delegation.provider / delegation.model in config.yaml.\n" "- Each subagent gets its own terminal session (separate working directory and state).\n" "- Results are always returned as an array, one entry per task." )