Improvement4.1.20
v4.1.20 — Sub-agent parallelization and model catalog refresh
Sub-agents now execute tool calls in parallel within the same step instead of sequentially, and the model catalog has been refreshed with 158 new models across updated providers. Multiple bug fixes address context injection in hooks, composer draft persistence, background command streaming, task deletion, Azure API configuration, rules discovery, and token limit handling.
Changed
- Sub-agents spawned in the same step now run their tool calls at the same time rather than one after another. Tools that must run in order still do, and the parent still waits for every result before its next turn.
- Models that advertise a large output limit now get a bigger default output budget — 30% of the limit rather than a flat 32,000 tokens, whichever is larger. Nothing changes for models under roughly 107k output tokens; longer responses can mean higher per-turn cost and latency.
- Refreshed the model catalog: 203 to 209 providers and 6,079 to 6,237 models. Kimi For Coding splits into separate kimi.com and kimi.ai providers, and AI21 Labs, ainetcafe, Inco, OCI Generative AI, Tempr, and Vispark are new. The resolved default model changes for 36 providers that do not pin one — most landing on DeepSeek V4.1 Flash, GLM 5.3 Flash, or MiMo V2.6 Flash. If you use one of those providers without pinning a model, expect a different default.
Fixed
- UserPromptSubmit and TaskStart hooks can inject context again. What those hooks returned as
contextModificationwas being dropped — onlycancelsurvived — so a hook meant to add repository facts or house rules to a task silently did nothing. The context is now delivered as a<hook_context>block on the run's first request, the same as before the regression, and the raw block never renders in the transcript. A hook also no longer receives its own previously injected text back as the next turn's prompt. - Unsent text in the composer survives Retry. Retry sent no composer content but still ran the same cleanup as approval actions, deleting the only copy of anything typed while a request was in flight. Text, quote context, images, and files are now tracked as one draft that only submitting actions consume.
- Output from background commands now streams into the command row while the command runs, instead of appearing only when it finishes.
- The Azure API version configured for a provider is now honored in tasks and mirrored to
providers.json. - Rules are found and shown consistently. The Rules panel listed only
.clinerulesand the Documents global folder, so rules loaded from.cline/rules,~/.cline/rules, or~/Cline/Ruleswere applied to the model but missing from the panel — and on Windows with a OneDrive-redirected Documents folder, global rules were not found at all. - Deleting a task from history now actually removes it. A task whose index entry was missing but whose file on disk survived was reported as deleted and then reappeared on the next refresh.
- Sub-agents you configure yourself no longer ask you to approve their individual tool calls after you have already approved the delegation.
- Compaction no longer silently falls back to truncation partway through a long task. The summarizer kept the credentials captured when the task started, so once they refreshed its request failed with an authorization error that was swallowed; it now follows the task's current credentials and model.
- A model turn that hits its output-token limit before making a tool call no longer ends the task. It is retried up to three times with a reminder to respond concisely and split large work across tool calls.
Full Changelog: v4.1.19...v4.1.20
sub-agentsparallelizationmodel-cataloghooksfixes
Source: original entry ↗