prompts: recommend 300s timeout for subagent_spawn execute_code steps
This commit is contained in:
parent
d1cd906db1
commit
d84a68e9e1
|
|
@ -46,11 +46,13 @@ execute_code: steps=[
|
|||
{code: "subagent_spawn 'Summarize core/pkg/agent/loop.go'"},
|
||||
{code: "subagent_spawn 'Summarize core/pkg/backend/anthropic.go'"},
|
||||
{code: "subagent_spawn 'Summarize 9p/internal/p9/server.go'"}
|
||||
]
|
||||
], timeout=300
|
||||
```
|
||||
|
||||
Three concurrent subagents, three different prompts. Results appear under `=== step N ===` headers from `execute_code`.
|
||||
|
||||
Set `timeout` to at least 300 seconds when subagents are doing non-trivial work — the default 30 seconds is not enough.
|
||||
|
||||
## Design rules
|
||||
|
||||
**Same agent across parallel subagents.** Different agents produce different output schemas; concatenating them is incoherent.
|
||||
|
|
|
|||
Loading…
Reference in New Issue