mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 21:19:48 +00:00
docs: clarify the effects of the subtask command option with primary … (#3299)
This commit is contained in:
parent
bfa79ed44b
commit
3d48c14d29
1 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue