summaryrefslogtreecommitdiff
path: root/Omni/Agent
diff options
context:
space:
mode:
Diffstat (limited to 'Omni/Agent')
-rw-r--r--Omni/Agent/Subagent.hs14
1 files changed, 2 insertions, 12 deletions
diff --git a/Omni/Agent/Subagent.hs b/Omni/Agent/Subagent.hs
index 06ef938..d8f5fab 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 task_id and namespace).",
+ <> "coder (hardened coding with init/verify/commit phases - requires namespace).",
Engine.toolJsonSchema =
Aeson.object
[ "type" .= ("object" :: Text),
@@ -919,11 +919,6 @@ spawnSubagentTool keys =
[ "type" .= ("number" :: Text),
"description" .= ("Maximum cost in cents (default: 50)" :: Text)
],
- "task_id"
- .= Aeson.object
- [ "type" .= ("string" :: Text),
- "description" .= ("Task ID from jr task (required for coder role)" :: Text)
- ],
"namespace"
.= Aeson.object
[ "type" .= ("string" :: Text),
@@ -1102,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 task_id and namespace).",
+ <> "coder (hardened coding with init/verify/commit - requires namespace).",
Engine.toolJsonSchema =
Aeson.object
[ "type" .= ("object" :: Text),
@@ -1139,11 +1134,6 @@ spawnSubagentToolWithApproval keys chatId onApprovalNeeded =
[ "type" .= ("number" :: Text),
"description" .= ("Maximum cost in cents (default: 50)" :: Text)
],
- "task_id"
- .= Aeson.object
- [ "type" .= ("string" :: Text),
- "description" .= ("Task ID from jr task (required for coder role)" :: Text)
- ],
"namespace"
.= Aeson.object
[ "type" .= ("string" :: Text),