Просмотр исходного кода

docs: clarify the effects of the subtask command option with primary … (#3299)

Rui Ferrão 4 месяцев назад
Родитель
Сommit
3d48c14d29
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      packages/web/src/content/docs/commands.mdx

+ 2 - 1
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"
 {