diff --git a/src/agents/athena/agent.ts b/src/agents/athena/agent.ts index 7068dd0c6..28c8239a3 100644 --- a/src/agents/athena/agent.ts +++ b/src/agents/athena/agent.ts @@ -48,7 +48,7 @@ Output requirements: - Explicitly identify disagreement areas and false-positive risk.` export function createAthenaAgent(model: string): AgentConfig { - const restrictions = createAgentToolRestrictions(["write", "edit", "task"]) + const restrictions = createAgentToolRestrictions(["write", "edit"]) const base = { description: diff --git a/src/shared/agent-tool-restrictions.ts b/src/shared/agent-tool-restrictions.ts index b35bb41b7..a818e08b2 100644 --- a/src/shared/agent-tool-restrictions.ts +++ b/src/shared/agent-tool-restrictions.ts @@ -16,7 +16,7 @@ const EXPLORATION_AGENT_DENYLIST: Record = { } const ATHENA_RESTRICTIONS = permissionToToolBooleans( - createAgentToolRestrictions(["write", "edit", "task"]).permission + createAgentToolRestrictions(["write", "edit"]).permission ) const AGENT_RESTRICTIONS: Record> = {