mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-29 11:42:17 +00:00
fix(core): tell the model it can redirect background subagents
This commit is contained in:
parent
59e5953443
commit
fcdf152e11
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ const backgroundResult = (sessionID: SessionSchema.ID) => ({
|
|||
status: "running" as const,
|
||||
output: [
|
||||
`The subagent is working in the background (sessionID: ${sessionID}). You will be notified automatically when it finishes.`,
|
||||
"DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using.",
|
||||
"DO NOT sleep, poll for progress, ask the subagent for status, or duplicate this subagent's work; avoid working with the same files or topics it is using. To redirect it, send a follow-up with this sessionID.",
|
||||
"Work on non-overlapping tasks, or briefly tell the user what you launched and end your response.",
|
||||
].join("\n"),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue