fix(subagent): discourage duplicate delegated work
This commit is contained in:
1 parent
8607b6445c
commit
9f7ae6fb7b
3 files changed
+8
-1
No files matched your search
@@ -631,7 +631,8 @@ class SubagentManager:
|
||||
except SubagentControlError as exc:
|
||||
return ToolResult.error(f"Error: {exc}")
|
||||
status = record.status
|
||||
return f"Subagent [{status.label}] started (id: {status.task_id}). I'll notify you when it completes."
|
||||
return (f"Subagent [{status.label}] started (id: {status.task_id}). "
|
||||
"I'll notify you when it completes. Don't duplicate its work.")
|
||||
|
||||
async def run_inline(
|
||||
self,
|
||||
|
||||
Reference in new issue
Block a user