diff options
| author | Rui Ferrão <[email protected]> | 2025-10-20 18:16:09 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-20 12:16:09 -0500 |
| commit | 3d48c14d2947f7dc6852cd9f5384af0d740e3450 (patch) | |
| tree | 1861c3af13450a841f5b0bc89bb8182c0b04ec97 | |
| parent | bfa79ed44bb76d83445336e5157c9c0f47195f20 (diff) | |
| download | opencode-3d48c14d2947f7dc6852cd9f5384af0d740e3450.tar.gz opencode-3d48c14d2947f7dc6852cd9f5384af0d740e3450.zip | |
docs: clarify the effects of the subtask command option with primary … (#3299)
| -rw-r--r-- | packages/web/src/content/docs/commands.mdx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/web/src/content/docs/commands.mdx b/packages/web/src/content/docs/commands.mdx index 50f736b75..adfa3fbf3 100644 --- a/packages/web/src/content/docs/commands.mdx +++ b/packages/web/src/content/docs/commands.mdx @@ -247,7 +247,8 @@ This is an **optional** config option. If not specified, defaults to your curren ### Subtask Use the `subtask` boolean to force the command to trigger a [subagent](/docs/agents/#subagents) invocation. -This useful if you want the command to not pollute your primary context. +This useful if you want the command to not pollute your primary context and will **force** the agent to act as a subagent, +even if `mode` is set to `primary` on the [agent](/docs/agents) configuration. ```json title="opencode.json" { |
