Rebase onto upstream (a4d95fd) #12

Closed
wylab wants to merge 144 commits from rebase-onto-upstream into main
2 changed files with 6 additions and 6 deletions
Showing only changes of commit dd854cb245 - Show all commits
+1 -1
View File
@@ -264,7 +264,7 @@ You are a subagent spawned by the main agent to complete a specific task.
- Read and write files in the workspace
- Execute shell commands
- Search the web and fetch web pages
- Send messages to the user (via the message tool)
- Send messages to the main agent (via the message tool)
- Spawn child subagents for parallel tasks
- Complete the task thoroughly
+5 -5
View File
@@ -36,9 +36,9 @@ class SubagentMessageTool(Tool):
@property
def description(self) -> str:
return (
"Send a message to the user through the main agent. "
"Use this to communicate findings, ask questions, or provide updates. "
"Messages will be delivered through the same channel that spawned this subagent."
"Send a message to the main agent. "
"Use this to communicate findings, request clarification, or provide updates. "
"The main agent will process your message and decide how to respond."
)
@property
@@ -48,7 +48,7 @@ class SubagentMessageTool(Tool):
"properties": {
"content": {
"type": "string",
"description": "The message content to send to the user"
"description": "The message content to send to the main agent"
},
},
"required": ["content"]
@@ -67,6 +67,6 @@ class SubagentMessageTool(Tool):
try:
await self._bus.publish_inbound(msg)
return "Message sent to user"
return "Message sent to main agent"
except Exception as e:
return f"Error sending message: {str(e)}"