summaryrefslogtreecommitdiff
path: root/Omni/Agent/Subagent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Agent/Subagent.hs')
-rw-r--r--Omni/Agent/Subagent.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Omni/Agent/Subagent.hs b/Omni/Agent/Subagent.hs
index d8f5fab..f5e04b0 100644
--- a/Omni/Agent/Subagent.hs
+++ b/Omni/Agent/Subagent.hs
@@ -882,7 +882,7 @@ spawnSubagentTool keys =
<> "after the user explicitly approves. "
<> "Available roles: web_crawler (fast web research), code_reviewer (thorough code analysis), "
<> "data_extractor (structured data extraction), researcher (general research), "
- <> "coder (hardened coding with init/verify/commit phases - requires namespace).",
+ <> "coder (hardened coding with init/verify/commit - requires namespace and context).",
Engine.toolJsonSchema =
Aeson.object
[ "type" .= ("object" :: Text),
@@ -902,7 +902,7 @@ spawnSubagentTool keys =
"context"
.= Aeson.object
[ "type" .= ("string" :: Text),
- "description" .= ("Additional context to help the subagent understand the goal" :: Text)
+ "description" .= ("Background context, related files, design decisions (required for coder)" :: Text)
],
"model"
.= Aeson.object
@@ -1097,7 +1097,7 @@ spawnSubagentToolWithApproval keys chatId onApprovalNeeded =
<> "do NOT say 'spawned' or 'started', say 'requested' or 'awaiting approval'. "
<> "Available roles: web_crawler (fast web research), code_reviewer (thorough code analysis), "
<> "data_extractor (structured data extraction), researcher (general research), "
- <> "coder (hardened coding with init/verify/commit - requires namespace).",
+ <> "coder (hardened coding with init/verify/commit - requires namespace and context).",
Engine.toolJsonSchema =
Aeson.object
[ "type" .= ("object" :: Text),
@@ -1117,7 +1117,7 @@ spawnSubagentToolWithApproval keys chatId onApprovalNeeded =
"context"
.= Aeson.object
[ "type" .= ("string" :: Text),
- "description" .= ("Additional context to help the subagent understand the goal" :: Text)
+ "description" .= ("Background context, related files, design decisions (required for coder)" :: Text)
],
"model"
.= Aeson.object