diff options
| author | Ben Sima <ben@bensima.com> | 2025-12-18 15:52:39 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bensima.com> | 2025-12-18 15:52:39 -0500 |
| commit | 07db925d362c368e0b60e2f602fcd62e2c7f77b1 (patch) | |
| tree | c44f439b26e7a3daf8f10f4bae9bcb16cc81805b | |
| parent | 2502f9de86f6671c01958046b6757398a8babffd (diff) | |
Subagent: clarify context is required for coder role
| -rw-r--r-- | Omni/Agent/Subagent.hs | 8 |
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 |
